Package org.alfresco.repo.events
Class ClientUtil
- java.lang.Object
-
- org.alfresco.repo.events.ClientUtil
-
public class ClientUtil extends java.lang.ObjectAllows us to convert between a FileFilterMode.Client and org.alfresco.sync.events.Client. This is a one way conversion. org.alfresco.sync.events.Client may evolve independently from FileFilterMode.Client, ie. there's a "from" method but no "to" method.- Author:
- Gethin James
-
-
Constructor Summary
Constructors Constructor Description ClientUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.alfresco.sync.repo.Clientfrom(org.alfresco.util.FileFilterMode.Client from)If a new client is added to the FileFilterMode.Client then the unit test will throw a IllegalArgument exception.
-
-
-
Method Detail
-
from
public static org.alfresco.sync.repo.Client from(org.alfresco.util.FileFilterMode.Client from)
If a new client is added to the FileFilterMode.Client then the unit test will throw a IllegalArgument exception. To fix it you will need to add to the org.alfresco.sync.events.Client.ClientType.- Parameters:
from- FileFilterMode.Client- Returns:
- org.alfresco.sync.events.Client
-
-