Class CFNUpdateStep.Execution
java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>
de.taimos.pipeline.aws.cloudformation.CFNUpdateStep.Execution
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CFNUpdateStep
public static class CFNUpdateStep.Execution
extends org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExecution(CFNUpdateStep step, org.jenkinsci.plugins.workflow.steps.StepContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected CloudFormationStackgetStep()run()whenStackExists(Collection<com.amazonaws.services.cloudformation.model.Parameter> parameters, Collection<com.amazonaws.services.cloudformation.model.Tag> tags, Collection<String> notificationARNs, com.amazonaws.services.cloudformation.model.RollbackConfiguration rollbackConfiguration) whenStackMissing(Collection<com.amazonaws.services.cloudformation.model.Parameter> parameters, Collection<com.amazonaws.services.cloudformation.model.Tag> tags, Collection<String> notificationARNs) Methods inherited from class org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution
blocksRestart, getStatus, onResume, start, stopMethods inherited from class org.jenkinsci.plugins.workflow.steps.StepExecution
applyAll, applyAll, getContext, getStatusBounded
-
Constructor Details
-
Execution
protected Execution(CFNUpdateStep step, @Nonnull org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
Method Details
-
checkPreconditions
public void checkPreconditions() -
whenStackExists
public Map<String,String> whenStackExists(Collection<com.amazonaws.services.cloudformation.model.Parameter> parameters, Collection<com.amazonaws.services.cloudformation.model.Tag> tags, Collection<String> notificationARNs, com.amazonaws.services.cloudformation.model.RollbackConfiguration rollbackConfiguration) throws Exception - Throws:
Exception
-
whenStackMissing
public Map<String,String> whenStackMissing(Collection<com.amazonaws.services.cloudformation.model.Parameter> parameters, Collection<com.amazonaws.services.cloudformation.model.Tag> tags, Collection<String> notificationARNs) throws Exception - Throws:
Exception
-
run
- Specified by:
runin classorg.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>- Throws:
Exception
-
getCfnStack
-
getStep
-
getListener
-
getEnvVars
-
getWorkspace
-