Enum Action

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Action>

    public enum Action
    extends java.lang.Enum<Action>
    This class represents the CADF ACTION taxonomy. Properties have string values, because they must be serialized as URIs, per CADF specifications.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      allow
      Event type: control.
      authenticate  
      backup
      Event type: activity.
      capture
      Event type: activity.
      configure
      Event type: activity.
      create
      Event type: activity.
      delete
      Event type: activity.
      deny
      Event type: control.
      deploy
      Event type: activity.
      disable
      Event type: activity.
      enable
      Event type: activity.
      evaluate
      Event type: control.
      login  
      monitor
      Event type: monitor.
      notify
      Event type: control.
      read
      Event type: activity.
      receive  
      renew
      Logon is a specialized authentication action, typically used to establish a resource’s identity or credentials for the resource to be authorized to perform subsequent actions.
      restore
      Event type: activity.
      revoke  
      send  
      start  
      stop  
      undeploy  
      unknown
      Any event type.
      update
      Event type: activity.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      static Action valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Action[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • monitor

        public static final Action monitor
        Event type: monitor. The only allowed action for this event type.
      • deny

        public static final Action deny
        Event type: control. Indicates that the initiating resource has denied access to the target resource.
      • allow

        public static final Action allow
        Event type: control. Indicates that the initiating resource has allowed access to the target resource.
      • evaluate

        public static final Action evaluate
        Event type: control. Indicates the evaluation or application of a policy, rule, or algorithm to a set of inputs.
      • notify

        public static final Action notify
        Event type: control. Indicates that the initiating resource has sent a notification based on some policy or algorithm application – perhaps it has generated an alert to indicate a system problem.
      • create

        public static final Action create
        Event type: activity. Signifies an attempt (successful or not) to create the target resource.
      • read

        public static final Action read
        Event type: activity. Attempt to read from the target resource.
      • update

        public static final Action update
        Event type: activity. Attempt to modify (change) one or more properties of the target resource.
      • delete

        public static final Action delete
        Event type: activity. Attempt to delete the target resource.
      • backup

        public static final Action backup
        Event type: activity. The target resource is being persisted to long-term storage. No environment, context, or resource state is saved.
      • capture

        public static final Action capture
        Event type: activity. The target resource is being persisted to long-term storage including relevant environment, context, and state information (snapshot).
      • configure

        public static final Action configure
        Event type: activity. Target resource configuration is being set up in a particular environment or for a particular purpose.
      • deploy

        public static final Action deploy
        Event type: activity. The target resource is being provisioned for use by the initiator, but not yet ready.
      • disable

        public static final Action disable
        Event type: activity. The initiator causes some or all functions of the target resource to be stopped or blocked.
      • enable

        public static final Action enable
        Event type: activity. The initiator causes some or all functions of the target resource to be allowed or permitted.
      • restore

        public static final Action restore
        Event type: activity. The target resource is being re-created from persistent storage.
      • start

        public static final Action start
      • stop

        public static final Action stop
      • undeploy

        public static final Action undeploy
      • receive

        public static final Action receive
      • send

        public static final Action send
      • authenticate

        public static final Action authenticate
      • login

        public static final Action login
      • renew

        public static final Action renew
        Logon is a specialized authentication action, typically used to establish a resource’s identity or credentials for the resource to be authorized to perform subsequent actions. This is an extension for the "authenticate" action.
      • revoke

        public static final Action revoke
      • unknown

        public static final Action unknown
        Any event type. Observer is unable to classify the action.
    • Method Detail

      • values

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

        public static Action 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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<Action>