ee.telekom.workflow.api.AutoRecovery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of workflow-api Show documentation
Show all versions of workflow-api Show documentation
Telekom-workflow-engine API interface (DSL) for writing your workflow definitions and plugins.
The newest version!
package ee.telekom.workflow.api;
/**
* Enum indicating if work item is automatically retried on recovery.
*/
public enum AutoRecovery {
ENABLED, DISABLED;
public static AutoRecovery of(boolean autoRecovery){
return autoRecovery ? ENABLED : DISABLED;
}
public static AutoRecovery getDefault(){
return ENABLED;
}
public boolean asBoolean(){
return this == ENABLED;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy