Enum UserTask.UserTaskMode

    • Enum Constant Detail

      • LEGACY_MODE

        public static final UserTask.UserTaskMode LEGACY_MODE

        User task is in legacy mode. This was the only mode supported with EBX® versions prior to 5.7.0.

        In this mode, several work items can be created for a user task. But it is not possible to offer a work item to several profiles.

        This mode is now deprecated and may be removed in future EBX® versions.

        See Also:
        Associated property in the ebx.properties file.
      • DEFAULT_MODE

        public static final UserTask.UserTaskMode DEFAULT_MODE

        User task is in default mode.

        In this mode, only one work item can be created for a user task. It is possible to offer a work item to several profiles.

    • Method Detail

      • values

        public static UserTask.UserTaskMode[] 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 (UserTask.UserTaskMode c : UserTask.UserTaskMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UserTask.UserTaskMode valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null