Class ClientUtil


  • public class ClientUtil
    extends Object
    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 Detail

      • ClientUtil

        public ClientUtil()
    • 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