-
public interface Step
-
-
Method Summary
Modifier and Type Method Description abstract Unitversion(Array<Out Any> dependencies)Implementation version builder abstract UnitawaitIf(Function0<Boolean> callback)abstract UnitawaitUp(Function1<AwaitUpAction, Unit> options)abstract UnitawaitUp(Collection<Instance> instances)abstract Unitcondition(Function1<Condition, Boolean> callback)abstract Unitvalidate()abstract Unitinit()abstract BooleanisPerformable(Condition condition)abstract Unitaction(Instance instance)abstract ProvisionergetProvisioner()abstract Property<String>getId()Short unique ID of step. abstract Property<String>getDescription()Nice name of step describing purpose. StringgetLabel()abstract Property<String>getVersion()Implementation version. abstract Property<Boolean>getContinueOnFail()Controls logging error to console instead of breaking build with exception so that next step might be performed. abstract Property<Boolean>getRerunOnFail()Controls if step should be performed again when previously failed. abstract RetrygetActionRetry()Allows to redo step action after delay if exception is thrown. abstract RetrygetConditionRetry()Allows to redo step condition after delay if exception is thrown. abstract Property<Boolean>getAwaitUp()Controls is after running step on all instances, checking for up instances need to be done. -
-
Method Detail
-
awaitUp
abstract Unit awaitUp(Function1<AwaitUpAction, Unit> options)
-
awaitUp
abstract Unit awaitUp(Collection<Instance> instances)
-
isPerformable
abstract Boolean isPerformable(Condition condition)
-
getProvisioner
abstract Provisioner getProvisioner()
-
getDescription
abstract Property<String> getDescription()
Nice name of step describing purpose.
-
getVersion
abstract Property<String> getVersion()
Implementation version.
-
getContinueOnFail
abstract Property<Boolean> getContinueOnFail()
Controls logging error to console instead of breaking build with exception so that next step might be performed.
-
getRerunOnFail
abstract Property<Boolean> getRerunOnFail()
Controls if step should be performed again when previously failed.
-
getActionRetry
abstract Retry getActionRetry()
Allows to redo step action after delay if exception is thrown.
-
getConditionRetry
abstract Retry getConditionRetry()
Allows to redo step condition after delay if exception is thrown.
-
getAwaitUp
abstract Property<Boolean> getAwaitUp()
Controls is after running step on all instances, checking for up instances need to be done.
-
-
-
-