public class ComposedJobUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MODULE_SUFFIX |
Constructor and Description |
---|
ComposedJobUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getComposedJobModuleName(java.lang.String jobName)
Returns the composed module name for the job
|
static java.lang.String |
getDefinitionParameters(java.lang.String definition) |
static java.lang.String |
getPropertyDefinition() |
static boolean |
isComposedJobDefinition(java.lang.String definition)
Is this definition a composed job definition
|
static void |
validateNotSingleJobInstance(java.lang.String definition,
java.util.Collection<java.lang.String> jobInstances)
Throws exception if user tries to create a single job instance with no transitions.
|
public static final java.lang.String MODULE_SUFFIX
public static java.lang.String getComposedJobModuleName(java.lang.String jobName)
jobName
- - base name for the jobpublic static boolean isComposedJobDefinition(java.lang.String definition)
definition
- the definition the user specifiedpublic static void validateNotSingleJobInstance(java.lang.String definition, java.util.Collection<java.lang.String> jobInstances)
definition
- the definition to be validatedjobInstances
- collection of available job instancespublic static java.lang.String getPropertyDefinition()
public static java.lang.String getDefinitionParameters(java.lang.String definition)