Package org.alfresco.repo.events
Class ClientUtil
java.lang.Object
org.alfresco.repo.events.ClientUtil
Allows 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic org.alfresco.sync.repo.Clientfrom(FileFilterMode.Client from) If a new client is added to the FileFilterMode.Client then the unit test will throw a IllegalArgument exception.
-
Constructor Details
-
ClientUtil
public ClientUtil()
-
-
Method Details
-
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
-