Package com.uc4.api.objects
Class ValidityKeywordType
- java.lang.Object
-
- com.uc4.api.objects.ValidityKeywordType
-
public class ValidityKeywordType extends java.lang.ObjectThis class represents the scope of a variable. The selected scope is the determining factor for the Variable's validity time frame.
-
-
Field Summary
Fields Modifier and Type Field Description static ValidityKeywordTypeFREELY_SELECTEDYou may choose any term as scope.static ValidityKeywordTypeHOST_NAMEHost names (Agent's) are used as scopes.static ValidityKeywordTypeJOBPLAN_NAMEJobPlan names are used as scopes.static ValidityKeywordTypeJOBPLAN_SESSIONThe UC4 system automatically uses the JobPlan RunIDs as scopes.static ValidityKeywordTypeNONE"*" is automatically set by the Automation Engine as scope.static ValidityKeywordTypeTASK_NAMETask names are used as scopes.static ValidityKeywordTypeUSER_NAMEUser names are used as scopes.static ValidityKeywordTypeUSER_SESSIONThe UC4 system automatically sets the running numbers of user sessions as scopes.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetId()Returns the ID of the scope.inthashCode()static ValidityKeywordTypenewInstance(java.lang.String id)Returns aValidityKeywordTypefor the given ID ornullif the ID is unknown.java.lang.StringtoString()
-
-
-
Field Detail
-
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 Detail
-
newInstance
public static ValidityKeywordType newInstance(java.lang.String id)
Returns aValidityKeywordTypefor the given ID ornullif the ID is unknown.- Parameters:
id- ID of the scope- Returns:
- vailidity scope
-
getId
public java.lang.String getId()
Returns the ID of the scope.- Returns:
- ID
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-