Package org.openstack4j.model.workflow
Interface CronTrigger
-
- All Superinterfaces:
Buildable<CronTriggerBuilder>,ModelEntity,Serializable
- All Known Implementing Classes:
MistralCronTrigger
public interface CronTrigger extends ModelEntity, Buildable<CronTriggerBuilder>
A cron trigger.- Author:
- Renat Akhmerov
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetCreatedAt()DategetFirstExecutionTime()StringgetId()StringgetName()DategetNextExecutionTime()StringgetPattern()IntegergetRemainingExecutionsCount()ScopegetScope()DategetUpdatedAt()StringgetWorkflowId()Map<String,?>getWorkflowInput()StringgetWorkflowName()Map<String,?>getWorkflowParameters()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- The id of this definition.
-
getCreatedAt
Date getCreatedAt()
- Returns:
- The time that this trigger was createdAt at.
-
getUpdatedAt
Date getUpdatedAt()
- Returns:
- The time that this trigger was last updatedAt at.
-
getScope
Scope getScope()
- Returns:
- The scope of this trigger.
-
getName
String getName()
- Returns:
- The name of this definition.
-
getWorkflowName
String getWorkflowName()
- Returns:
- The name of workflow that this trigger needs to run.
-
getWorkflowId
String getWorkflowId()
- Returns:
- The Id of workflow that this trigger needs to run.
-
getWorkflowInput
Map<String,?> getWorkflowInput()
- Returns:
- The input values with which the workflow needs to run.
-
getWorkflowParameters
Map<String,?> getWorkflowParameters()
- Returns:
- The workflow type specific parameters with which the workflow needs to run.
-
getPattern
String getPattern()
- Returns:
- The cron pattern of this trigger.
-
getRemainingExecutionsCount
Integer getRemainingExecutionsCount()
- Returns:
- The number of remaining executions of this trigger.
-
getFirstExecutionTime
Date getFirstExecutionTime()
- Returns:
- The first execution time of this trigger.
-
getNextExecutionTime
Date getNextExecutionTime()
- Returns:
- The next execution time of this trigger according the cron pattern.
-
-