-
- All Implemented Interfaces:
-
com.netflix.spinnaker.kork.plugins.api.internal.SpinnakerExtensionPoint,com.netflix.spinnaker.orca.api.pipeline.Task,org.pf4j.ExtensionPoint
public interface SkippableTask implements Task
A skippable task can be configured via properties to go directly from NOT_STARTED to SKIPPED. By default, the property name is:
tasks.$taskId.enabled
where `taskId` corresponds to the simple class name (without the package) with a lower case first character. For example, a skippable class `com.foo.DummySkippableTask` could be disabled via property
tasks.dummySkippableTask.enabled
-
-
Method Summary
Modifier and Type Method Description static StringisEnabledPropertyName(String name)StringisEnabledPropertyName()-
Methods inherited from class com.netflix.spinnaker.orca.api.pipeline.Task
aliases, execute, onCancel, onCancelWithResult, onTimeout -
Methods inherited from class com.netflix.spinnaker.kork.plugins.api.internal.SpinnakerExtensionPoint
getExtensionClass, getPluginId -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
isEnabledPropertyName
static String isEnabledPropertyName(String name)
-
isEnabledPropertyName
String isEnabledPropertyName()
-
-
-
-