Enum TriggerType.ValueSet

    • Enum Constant Detail

      • NAMED_EVENT

        public static final TriggerType.ValueSet NAMED_EVENT
        Named Event

        The trigger occurs in response to a specific named event, and no other information about the trigger is specified. Named events are completely pre-coordinated, and the formal semantics of the trigger are not provided.

      • PERIODIC

        public static final TriggerType.ValueSet PERIODIC
        Periodic

        The trigger occurs at a specific time or periodically as described by a timing or schedule. A periodic event cannot have any data elements, but may have a name assigned as a shorthand for the event.

      • DATA_CHANGED

        public static final TriggerType.ValueSet DATA_CHANGED
        Data Changed

        The trigger occurs whenever data of a particular type is changed in any way, either added, modified, or removed.

      • DATA_ADDED

        public static final TriggerType.ValueSet DATA_ADDED
        Data Added

        The trigger occurs whenever data of a particular type is added.

      • DATA_MODIFIED

        public static final TriggerType.ValueSet DATA_MODIFIED
        Data Updated

        The trigger occurs whenever data of a particular type is modified.

      • DATA_REMOVED

        public static final TriggerType.ValueSet DATA_REMOVED
        Data Removed

        The trigger occurs whenever data of a particular type is removed.

      • DATA_ACCESSED

        public static final TriggerType.ValueSet DATA_ACCESSED
        Data Accessed

        The trigger occurs whenever data of a particular type is accessed.

      • DATA_ACCESS_ENDED

        public static final TriggerType.ValueSet DATA_ACCESS_ENDED
        Data Access Ended

        The trigger occurs whenever access to data of a particular type is completed.

    • Method Detail

      • values

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

        public static TriggerType.ValueSet 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
      • value

        public String value()
        Returns:
        The java.lang.String value of the code represented by this enum
      • from

        public static TriggerType.ValueSet from​(String value)
        Factory method for creating TriggerType.ValueSet values from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value