Class ValidityKeywordType

java.lang.Object
com.uc4.api.objects.ValidityKeywordType

public class ValidityKeywordType extends Object
This class represents the scope of a variable. The selected scope is the determining factor for the Variable's validity time frame.
  • Field Details

    • NONE

      public static final ValidityKeywordType NONE
      "*" is automatically set by the Automation Engine as scope. The Variable contains only one value.
    • FREELY_SELECTED

      public static final ValidityKeywordType FREELY_SELECTED
      You may choose any term as scope. The Variable can contain any number of values.
    • HOST_NAME

      public static final ValidityKeywordType HOST_NAME
      Host names (Agent's) are used as scopes. The Variable contains a value for each specified host.
    • TASK_NAME

      public static final ValidityKeywordType TASK_NAME
      Task names are used as scopes. The Variable contains a value for each specified task.
    • JOBPLAN_NAME

      public static final ValidityKeywordType JOBPLAN_NAME
      JobPlan names are used as scopes. The Variable contains a value for each specified JobPlan.
    • JOBPLAN_SESSION

      public static final ValidityKeywordType JOBPLAN_SESSION
      The UC4 system automatically uses the JobPlan RunIDs as scopes. The Variable contains a value for each JobPlan activation. This value and the scope will be deleted when the JobPlan is ended!
    • USER_NAME

      public static final ValidityKeywordType USER_NAME
      User names are used as scopes. The Variable contains a value for each specified user.
    • USER_SESSION

      public static final ValidityKeywordType USER_SESSION
      The UC4 system automatically sets the running numbers of user sessions as scopes. The Variable contains a value for each user session. This value and the scope will be deleted when the user session is ended!
  • Method Details

    • newInstance

      public static ValidityKeywordType newInstance(String id)
      Returns a ValidityKeywordType for the given ID or null if the ID is unknown.
      Parameters:
      id - ID of the scope
      Returns:
      vailidity scope
    • getId

      public String getId()
      Returns the ID of the scope.
      Returns:
      ID
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object