Class CFNCreateChangeSetStep.Execution
java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>
de.taimos.pipeline.aws.cloudformation.CFNCreateChangeSetStep.Execution
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CFNCreateChangeSetStep
public static class CFNCreateChangeSetStep.Execution
extends org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>
- See Also:
-
Constructor Summary
ConstructorDescriptionExecution
(CFNCreateChangeSetStep step, org.jenkinsci.plugins.workflow.steps.StepContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected CloudFormationStack
getStep()
List<com.amazonaws.services.cloudformation.model.Change>
run()
List<com.amazonaws.services.cloudformation.model.Change>
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) List<com.amazonaws.services.cloudformation.model.Change>
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, stop
Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepExecution
applyAll, applyAll, getContext, getStatusBounded
-
Constructor Details
-
Execution
public Execution(CFNCreateChangeSetStep step, org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
Method Details
-
checkPreconditions
public void checkPreconditions() -
whenStackExists
public List<com.amazonaws.services.cloudformation.model.Change> 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 List<com.amazonaws.services.cloudformation.model.Change> 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:
run
in classorg.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>
- Throws:
Exception
-
getCfnStack
-
getStep
-
getListener
-
getEnvVars
-
getWorkspace
-