Class MistralCronTrigger
- java.lang.Object
-
- org.openstack4j.openstack.workflow.domain.MistralCronTrigger
-
- All Implemented Interfaces:
Serializable,Buildable<CronTriggerBuilder>,ModelEntity,CronTrigger
public class MistralCronTrigger extends Object implements CronTrigger
Mistral cron trigger.- Author:
- Renat Akhmerov
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMistralCronTrigger.MistralCronTriggerBuilderMistral cron trigger builder.static classMistralCronTrigger.MistralCronTriggers-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description MistralCronTrigger()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MistralCronTrigger.MistralCronTriggerBuilderbuilder()DategetCreatedAt()DategetFirstExecutionTime()StringgetId()StringgetName()DategetNextExecutionTime()StringgetPattern()IntegergetRemainingExecutionsCount()ScopegetScope()DategetUpdatedAt()StringgetWorkflowId()Map<String,?>getWorkflowInput()StringgetWorkflowName()Map<String,?>getWorkflowParameters()MistralCronTrigger.MistralCronTriggerBuildertoBuilder()
-
-
-
Method Detail
-
builder
public static MistralCronTrigger.MistralCronTriggerBuilder builder()
-
toBuilder
public MistralCronTrigger.MistralCronTriggerBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<CronTriggerBuilder>
-
getId
public String getId()
- Specified by:
getIdin interfaceCronTrigger- Returns:
- The id of this definition.
-
getCreatedAt
public Date getCreatedAt()
- Specified by:
getCreatedAtin interfaceCronTrigger- Returns:
- The time that this trigger was createdAt at.
-
getUpdatedAt
public Date getUpdatedAt()
- Specified by:
getUpdatedAtin interfaceCronTrigger- Returns:
- The time that this trigger was last updatedAt at.
-
getScope
public Scope getScope()
- Specified by:
getScopein interfaceCronTrigger- Returns:
- The scope of this trigger.
-
getName
public String getName()
- Specified by:
getNamein interfaceCronTrigger- Returns:
- The name of this definition.
-
getPattern
public String getPattern()
- Specified by:
getPatternin interfaceCronTrigger- Returns:
- The cron pattern of this trigger.
-
getWorkflowName
public String getWorkflowName()
- Specified by:
getWorkflowNamein interfaceCronTrigger- Returns:
- The name of workflow that this trigger needs to run.
-
getWorkflowId
public String getWorkflowId()
- Specified by:
getWorkflowIdin interfaceCronTrigger- Returns:
- The Id of workflow that this trigger needs to run.
-
getWorkflowInput
public Map<String,?> getWorkflowInput()
- Specified by:
getWorkflowInputin interfaceCronTrigger- Returns:
- The input values with which the workflow needs to run.
-
getWorkflowParameters
public Map<String,?> getWorkflowParameters()
- Specified by:
getWorkflowParametersin interfaceCronTrigger- Returns:
- The workflow type specific parameters with which the workflow needs to run.
-
getRemainingExecutionsCount
public Integer getRemainingExecutionsCount()
- Specified by:
getRemainingExecutionsCountin interfaceCronTrigger- Returns:
- The number of remaining executions of this trigger.
-
getFirstExecutionTime
public Date getFirstExecutionTime()
- Specified by:
getFirstExecutionTimein interfaceCronTrigger- Returns:
- The first execution time of this trigger.
-
getNextExecutionTime
public Date getNextExecutionTime()
- Specified by:
getNextExecutionTimein interfaceCronTrigger- Returns:
- The next execution time of this trigger according the cron pattern.
-
-