Enum Task



  • public enum Task
    extends java.lang.Enum<Task>
    Only for internal purpose.
    Since:
    2.0.0
    • Enum Constant Detail

      • INVOKE_ASYNC_METHOD

        public static final Task INVOKE_ASYNC_METHOD
      • ATTRIBUTE_UPDATED

        public static final Task ATTRIBUTE_UPDATED
      • TASK

        public static final Task TASK
      • APPENDED_CHILD_TAG

        public static final Task APPENDED_CHILD_TAG
      • REMOVED_TAGS

        public static final Task REMOVED_TAGS
      • APPENDED_CHILDREN_TAGS

        public static final Task APPENDED_CHILDREN_TAGS
      • REMOVED_ALL_CHILDREN_TAGS

        public static final Task REMOVED_ALL_CHILDREN_TAGS
      • MOVED_CHILDREN_TAGS

        public static final Task MOVED_CHILDREN_TAGS
      • INSERTED_BEFORE_TAG

        public static final Task INSERTED_BEFORE_TAG
      • REMOVED_ATTRIBUTES

        public static final Task REMOVED_ATTRIBUTES
      • ADDED_ATTRIBUTES

        public static final Task ADDED_ATTRIBUTES
      • MANY_TO_ONE

        public static final Task MANY_TO_ONE
      • ONE_TO_MANY

        public static final Task ONE_TO_MANY
      • MANY_TO_MANY

        public static final Task MANY_TO_MANY
      • ONE_TO_ONE

        public static final Task ONE_TO_ONE
      • ADDED_INNER_HTML

        public static final Task ADDED_INNER_HTML
      • INVOKE_POST_FUNCTION

        public static final Task INVOKE_POST_FUNCTION
      • EXECURE_JS

        public static final Task EXECURE_JS
      • RELOAD_BROWSER

        public static final Task RELOAD_BROWSER
      • RELOAD_BROWSER_FROM_CACHE

        public static final Task RELOAD_BROWSER_FROM_CACHE
      • INVOKE_CALLBACK_FUNCTION

        public static final Task INVOKE_CALLBACK_FUNCTION
      • INVOKE_CUSTOM_SERVER_METHOD

        public static final Task INVOKE_CUSTOM_SERVER_METHOD
      • TASK_OF_TASKS

        public static final Task TASK_OF_TASKS
      • COPY_INNER_TEXT_TO_VALUE

        public static final Task COPY_INNER_TEXT_TO_VALUE
      • REMOVE_BROWSER_PAGE

        public static final Task REMOVE_BROWSER_PAGE
        to remove BrowserPage instance from BrowserPageContext
      • SET_BM_OBJ_ON_TAG

        public static final Task SET_BM_OBJ_ON_TAG
        to set WffBMObject on tag
      • SET_BM_ARR_ON_TAG

        public static final Task SET_BM_ARR_ON_TAG
        to set WffBMArray on tag
      • DEL_BM_OBJ_OR_ARR_FROM_TAG

        public static final Task DEL_BM_OBJ_OR_ARR_FROM_TAG
        to delete WffBMObject or WffBMArray from tag
    • Method Detail

      • values

        public static Task[] values​()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Task c : Task.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Task valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValueByte

        public byte getValueByte​()
        Returns:
        the valueByte
      • getTaskNameValue

        public NameValue getTaskNameValue​()
        Returns:
        nameValue with name as TASK byte value and values as the the current task/object byte value.
        Since:
        2.0.0
      • getTaskOfTasksNameValue

        public static NameValue getTaskOfTasksNameValue​()
        Returns:
        nameValue with name as TASK_OF_TASKS byte value and values as null
        Since:
        2.1.3
      • getJsObjectString

        public static java.lang.String getJsObjectString​()
        Returns:
        the javascript object string, Eg:- in the optimized form { T0 : 0, T1 : 1} of { INVOKE_ASYNC_METHOD : 0, ATTRIBUTE_UPDATED : 1}
        Since:
        1.1.5, 2.1.8 optimized with shortName
      • getShortName

        public java.lang.String getShortName​()
        Returns:
        unique short name for the task
        Since:
        2.1.8
      • getSortedTasks

        public static java.util.Set<Task> getSortedTasks​()
        Returns:
        the sorted set of tasks in the descending order of the name of task length.
        Since:
        2.1.10