public class PipelineStepStateStep
extends org.jenkinsci.plugins.workflow.steps.Step
Step
which waits for a Cloud Manager pipeline step event.
Occurrence events will simply log a message.
Waiting events will force the pipeline to pause for user inputs. All waiting events only support approval or cancel options. User selection will invoke the associated operation in Cloud Manager.
See the Cloud Manager Events documentation.
Modifier and Type | Class and Description |
---|---|
static class |
PipelineStepStateStep.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
PipelineStepStateStep() |
Modifier and Type | Method and Description |
---|---|
List<io.adobe.cloudmanager.StepAction> |
getActions()
List of actions to which this Step will respond.
|
boolean |
isAdvance()
Flag to indicate if this step should auto-advance when it receives a
finished event. |
boolean |
isAutoApprove()
Flag to indicate if this step should auto-approve if it receives a
waiting event. |
boolean |
isWaitingPause()
Flag to indicate if the pipeline should pause on a waiting event.
|
io.adobe.cloudmanager.StepAction[] |
listActions()
List all actions for the UI generator example.
|
void |
setActions(List<io.adobe.cloudmanager.StepAction> actions) |
void |
setAdvance(boolean advance) |
void |
setAutoApprove(boolean autoApprove) |
void |
setWaitingPause(boolean waitingPause) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext context) |
@Nonnull public List<io.adobe.cloudmanager.StepAction> getActions()
@DataBoundSetter public void setActions(List<io.adobe.cloudmanager.StepAction> actions)
public boolean isAutoApprove()
waiting
event.@DataBoundSetter public void setAutoApprove(boolean autoApprove)
public boolean isAdvance()
finished
event.@DataBoundSetter public void setAdvance(boolean advance)
public boolean isWaitingPause()
@DataBoundSetter public void setWaitingPause(boolean waitingPause)
@Nonnull public io.adobe.cloudmanager.StepAction[] listActions()
Copyright © 2020–2021 Adobe Inc. All rights reserved.