Package com.xebialabs.xlrelease.domain
Class Trigger
- java.lang.Object
-
- com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
-
- com.xebialabs.xlrelease.domain.BaseScript
-
- com.xebialabs.xlrelease.domain.BasePythonScript
-
- com.xebialabs.xlrelease.domain.Trigger
-
- All Implemented Interfaces:
ConfigurationItem,CiWithUid,java.io.Serializable,java.lang.Comparable<BaseConfigurationItem>
- Direct Known Subclasses:
ScheduledTrigger
@Metadata(versioned=false, virtual=true) public abstract class Trigger extends BasePythonScript implements CiWithUid
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringALLOW_PARALLEL_EXECUTIONprotected booleanallowParallelExecution-
Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
-
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
-
-
Constructor Summary
Constructors Constructor Description Trigger()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleangetAllowParallelExecution()java.lang.IntegergetCiUid()abstract java.lang.StringgetContainerId()java.lang.StringgetDescription()java.lang.StringgetFolderId()java.util.List<java.lang.String>getInternalProperties()java.util.DategetLastRunDate()TriggerExecutionStatusgetLastRunStatus()java.lang.StringgetTitle()java.lang.StringgetTriggerState()booleanisEnabled()voidsetAllowParallelExecution(boolean allowParallelExecution)voidsetCiUid(java.lang.Integer ciUid)voidsetDescription(java.lang.String description)voidsetEnabled(boolean enabled)voidsetFolderId(java.lang.String folderId)voidsetLastRunDate(java.util.Date lastRunDate)voidsetLastRunStatus(TriggerExecutionStatus lastRunStatus)voidsetTitle(java.lang.String title)voidsetTriggerState(java.lang.String triggerState)-
Methods inherited from class com.xebialabs.xlrelease.domain.BaseScript
getAbortScript, getScript
-
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, get$ciAttributes, get$directoryReference, get$externalProperties, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$directoryReference, set$externalProperties, set$internalId, set$referenceId, set$securedCi, set$securedDirectoryReference, set$token, set$validationMessages, setId, setProperty, setType, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
get$directoryReference, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$validationMessages, getId, getName, getProperty, getType, hasProperty, setId, setProperty
-
-
-
-
Field Detail
-
ALLOW_PARALLEL_EXECUTION
public static final java.lang.String ALLOW_PARALLEL_EXECUTION
- See Also:
- Constant Field Values
-
allowParallelExecution
@Property(category="hidden", defaultValue="false", isTransient=true, description="Allows parallel execution of triggers (ie parallel processing of execute requests/scripts).") protected boolean allowParallelExecution
-
-
Method Detail
-
setCiUid
public void setCiUid(java.lang.Integer ciUid)
-
getInternalProperties
public java.util.List<java.lang.String> getInternalProperties()
-
getTitle
public java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String title)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getTriggerState
public java.lang.String getTriggerState()
-
setTriggerState
public void setTriggerState(java.lang.String triggerState)
-
getFolderId
public java.lang.String getFolderId()
-
setFolderId
public void setFolderId(java.lang.String folderId)
-
getAllowParallelExecution
public boolean getAllowParallelExecution()
-
setAllowParallelExecution
public void setAllowParallelExecution(boolean allowParallelExecution)
-
getLastRunDate
public java.util.Date getLastRunDate()
-
setLastRunDate
public void setLastRunDate(java.util.Date lastRunDate)
-
getLastRunStatus
public TriggerExecutionStatus getLastRunStatus()
-
setLastRunStatus
public void setLastRunStatus(TriggerExecutionStatus lastRunStatus)
-
getContainerId
public abstract java.lang.String getContainerId()
-
-