Package com.xebialabs.xlrelease.domain
Enum TriggerActivity
- java.lang.Object
-
- java.lang.Enum<TriggerActivity>
-
- com.xebialabs.xlrelease.domain.TriggerActivity
-
- All Implemented Interfaces:
com.xebialabs.xlrelease.activity.ActivityOps,java.io.Serializable,java.lang.Comparable<TriggerActivity>
public enum TriggerActivity extends java.lang.Enum<TriggerActivity> implements com.xebialabs.xlrelease.activity.ActivityOps
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.xebialabs.xlrelease.domain.ActivityLogEntrycreate(com.xebialabs.xlrelease.triggers.events.TriggerEvent ev, com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem target, java.lang.Object... parameters)com.xebialabs.xlrelease.domain.ActivityLogEntrycreate(java.util.Date eventTime, java.lang.String username, com.xebialabs.deployit.plugin.api.reflect.Type targetType, java.lang.String targetId, java.lang.Object... parameters)java.util.Set<com.xebialabs.xlrelease.domain.ActivityCategory>getCategories()java.lang.StringgetName()static TriggerActivitysafeValueOf(java.lang.String name)static TriggerActivityvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TriggerActivity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRIGGER_CREATED
public static final TriggerActivity TRIGGER_CREATED
-
TRIGGER_PROPERTY_UPDATED
public static final TriggerActivity TRIGGER_PROPERTY_UPDATED
-
TRIGGER_CREATED_FROM_AS_CODE
public static final TriggerActivity TRIGGER_CREATED_FROM_AS_CODE
-
TRIGGER_PROPERTY_UPDATED_FROM_AS_CODE
public static final TriggerActivity TRIGGER_PROPERTY_UPDATED_FROM_AS_CODE
-
TRIGGER_DELETED
public static final TriggerActivity TRIGGER_DELETED
-
TRIGGER_ENABLED
public static final TriggerActivity TRIGGER_ENABLED
-
TRIGGER_DISABLED
public static final TriggerActivity TRIGGER_DISABLED
-
TRIGGER_EXECUTED
public static final TriggerActivity TRIGGER_EXECUTED
-
TRIGGER_SKIPPED
public static final TriggerActivity TRIGGER_SKIPPED
-
TRIGGER_FAILED
public static final TriggerActivity TRIGGER_FAILED
-
TRIGGER_FILTER_FAILED
public static final TriggerActivity TRIGGER_FILTER_FAILED
-
OTHER
public static final TriggerActivity OTHER
-
-
Method Detail
-
values
public static TriggerActivity[] 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 (TriggerActivity c : TriggerActivity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TriggerActivity 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 namejava.lang.NullPointerException- if the argument is null
-
create
public com.xebialabs.xlrelease.domain.ActivityLogEntry create(java.util.Date eventTime, java.lang.String username, com.xebialabs.deployit.plugin.api.reflect.Type targetType, java.lang.String targetId, java.lang.Object... parameters)
-
create
public com.xebialabs.xlrelease.domain.ActivityLogEntry create(com.xebialabs.xlrelease.triggers.events.TriggerEvent ev, com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem target, java.lang.Object... parameters)
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacecom.xebialabs.xlrelease.activity.ActivityOps
-
getCategories
public java.util.Set<com.xebialabs.xlrelease.domain.ActivityCategory> getCategories()
- Specified by:
getCategoriesin interfacecom.xebialabs.xlrelease.activity.ActivityOps
-
safeValueOf
public static TriggerActivity safeValueOf(java.lang.String name)
-
-