-
- All Implemented Interfaces:
-
com.cognifide.gradle.aem.common.instance.provision.Step
public final class DeployPackageStep extends AbstractStep
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<Any>sourceprivate final DeployPackageSourcesourcePropertiesprivate final Filefileprivate final Property<String>nameprivate 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 DeployPackageStep(Provisioner provisioner)
-
Method Summary
Modifier and Type Method Description Unitvalidate()Unitinit()Unitaction(Instance instance)final BooleanisDeployedOn(Instance instance)final BooleannotDeployedOn(Instance instance)final Property<Any>getSource()final DeployPackageSourcegetSourceProperties()final FilegetFile()final Property<String>getName()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()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.DeployPackageStep
awaitIf, awaitUp, awaitUp, condition, isPerformable, toString -
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
-
DeployPackageStep
DeployPackageStep(Provisioner provisioner)
-
-
Method Detail
-
isDeployedOn
final Boolean isDeployedOn(Instance instance)
-
notDeployedOn
final Boolean notDeployedOn(Instance instance)
-
getSourceProperties
final DeployPackageSource getSourceProperties()
-
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()
-
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)
-
-
-
-