-
- All Implemented Interfaces:
-
com.cognifide.gradle.aem.common.instance.provision.Step
public final class ConfigureWorkflowStep extends AbstractStep
-
-
Field Summary
Fields Modifier and Type Field Description private Function1<Workflow, Unit>workflowActionprivate final Stringwidprivate final Property<String>idprivate final Property<String>descriptionprivate Property<String>versionprivate Function1<Condition, Boolean>conditionCallbackprivate final Property<Boolean>continueOnFailprivate final Property<Boolean>rerunOnFailprivate final RetryactionRetryprivate final RetryconditionRetryprivate final Property<Boolean>awaitUpprivate BooleanawaitOptionallyprivate BooleanawaitRequiredprivate Function1<AwaitUpAction, Unit>awaitUpOptionsprivate final Provisionerprovisionerprivate final Stringlabel
-
Constructor Summary
Constructors Constructor Description ConfigureWorkflowStep(Provisioner provisioner, String wid)
-
Method Summary
Modifier and Type Method Description final Unitworkflow(Function1<Workflow, Unit> action)Unitvalidate()Unitaction(Instance instance)final Function1<Workflow, Unit>getWorkflowAction()final StringgetWid()Property<String>getId()Short unique ID of step. Property<String>getDescription()Nice name of step describing purpose. Property<String>getVersion()Implementation version. final Function1<Condition, Boolean>getConditionCallback()Property<Boolean>getContinueOnFail()Controls logging error to console instead of breaking build with exception so that next step might be performed. Property<Boolean>getRerunOnFail()Controls if step should be performed again when previously failed. RetrygetActionRetry()Allows to redo step action after delay if exception is thrown. RetrygetConditionRetry()Allows to redo step condition after delay if exception is thrown. Property<Boolean>getAwaitUp()Controls is after running step on all instances, checking for up instances need to be done. final BooleangetAwaitOptionally()final BooleangetAwaitRequired()final Function1<AwaitUpAction, Unit>getAwaitUpOptions()final ProvisionergetProvisioner()StringgetLabel()final UnitsetWorkflowAction(Function1<Workflow, Unit> workflowAction)UnitsetVersion(Property<String> version)Implementation version. final UnitsetConditionCallback(Function1<Condition, Boolean> conditionCallback)final UnitsetAwaitOptionally(Boolean awaitOptionally)final UnitsetAwaitRequired(Boolean awaitRequired)final UnitsetAwaitUpOptions(Function1<AwaitUpAction, Unit> awaitUpOptions)-
Methods inherited from class com.cognifide.gradle.aem.common.instance.provision.step.ConfigureWorkflowStep
awaitIf, awaitUp, awaitUp, condition, init, isPerformable, toString, version -
Methods inherited from class com.cognifide.gradle.aem.common.instance.provision.Step
equals, hashCode -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ConfigureWorkflowStep
ConfigureWorkflowStep(Provisioner provisioner, String wid)
-
-
Method Detail
-
getWorkflowAction
final Function1<Workflow, Unit> getWorkflowAction()
-
getDescription
Property<String> getDescription()
Nice name of step describing purpose.
-
getVersion
Property<String> getVersion()
Implementation version.
-
getConditionCallback
final Function1<Condition, Boolean> getConditionCallback()
-
getContinueOnFail
Property<Boolean> getContinueOnFail()
Controls logging error to console instead of breaking build with exception so that next step might be performed.
-
getRerunOnFail
Property<Boolean> getRerunOnFail()
Controls if step should be performed again when previously failed.
-
getActionRetry
Retry getActionRetry()
Allows to redo step action after delay if exception is thrown.
-
getConditionRetry
Retry getConditionRetry()
Allows to redo step condition after delay if exception is thrown.
-
getAwaitUp
Property<Boolean> getAwaitUp()
Controls is after running step on all instances, checking for up instances need to be done.
-
getAwaitOptionally
final Boolean getAwaitOptionally()
-
getAwaitRequired
final Boolean getAwaitRequired()
-
getAwaitUpOptions
final Function1<AwaitUpAction, Unit> getAwaitUpOptions()
-
getProvisioner
final Provisioner getProvisioner()
-
setWorkflowAction
final Unit setWorkflowAction(Function1<Workflow, Unit> workflowAction)
-
setVersion
Unit setVersion(Property<String> version)
Implementation version.
-
setConditionCallback
final Unit setConditionCallback(Function1<Condition, Boolean> conditionCallback)
-
setAwaitOptionally
final Unit setAwaitOptionally(Boolean awaitOptionally)
-
setAwaitRequired
final Unit setAwaitRequired(Boolean awaitRequired)
-
setAwaitUpOptions
final Unit setAwaitUpOptions(Function1<AwaitUpAction, Unit> awaitUpOptions)
-
-
-
-