Class LiveSyncTaskHandler

    • Field Detail


        public static final ThreadLocal<Integer> CHANGE_BEING_PROCESSED
        Local sequence number of a change that is being processed in the current thread. Actually, it is a hack to enable testing: The code in mappings can obtain this information and do some asserts on it. When the information will be propagated into e.g. lensContext, we should remove this hack.
    • Constructor Detail

      • LiveSyncTaskHandler

        protected LiveSyncTaskHandler()
    • Method Detail

      • getCategoryName

        public String getCategoryName​(Task task)
        Description copied from interface: TaskHandler
        Returns a category name for a given task. In most cases, the name would be independent of concrete task.
        task - a task, whose category is to be determined; if getCategoryNames() returns null, this method has to accept null value as this parameter, and return the (one) category name that it gives to all tasks
        a user-understandable name, like "LiveSync" or "Workflow"
      • getArchetypeOid

        public String getArchetypeOid()
        Archetype OID for tasks that are powered by this handler.
      • getDefaultChannel

        public String getDefaultChannel()
        Channel URI for tasks managed by this handler, if applicable.