Package de.esoco.process
Klasse StepListProcessDefinition.StepListEntry
java.lang.Object
org.obrel.core.RelatedObject
org.obrel.core.SerializableRelatedObject
de.esoco.process.ProcessElement
de.esoco.process.StepListProcessDefinition.StepListEntry
- Alle implementierten Schnittstellen:
Serializable
,org.obrel.core.Relatable
- Umschließende Klasse:
StepListProcessDefinition
Inner class that defines the structure of the step list elements.
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder de.esoco.process.ProcessElement
MSG_PARAM_NOT_SET
-
Konstruktorübersicht
KonstruktorBeschreibungStepListEntry
(String stepName, Class<? extends ProcessFragment> stepClass) Creates a new StepListEntry for a named step with a specific follow-up step.StepListEntry
(String stepName, Class<? extends ProcessFragment> stepClass, String... configEntries) Creates a new StepListEntry for a named step with a specific follow-up step and a configuration map for the step.StepListEntry
(String stepName, Class<? extends ProcessFragment> stepClass, Map<?, ?> config) Creates a new StepListEntry for a named step with a specific follow-up step and a configuration map for the step. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal String
Returns the name of the next step that will be executed after this one.final String
Returns the name of the process step.Convenience method to end the process after the current step has been executed.final void
thenGoTo
(Class<? extends ProcessFragment> nextStep) Sets the class of the next step to be executed after this one.final void
Sets the name of the next step to be executed after this one.Von Klasse geerbte Methoden de.esoco.process.ProcessElement
addDisplayParameters, addDisplayParameters, addInputParameters, addInputParameters, clearInteractionParameters, continueOnInteraction, getParameterValidations, hasInteractionParameter, markInputParams, markInputParams, params, removeAllParameterValidations, removeInteractionParameters, removeInteractionParameters, removeParameterValidations, removeParameterValidations, setContinueOnInteraction, setMandatory, setParameterNotEmptyValidations, setParameterNotEmptyValidations, setParameterNotNullValidations, setParameterNotNullValidations, setParameterValidation, setParameterValidation, staticParams
Von Klasse geerbte Methoden org.obrel.core.RelatedObject
deleteRelation, get, getRelation, getRelations, notifyRelationListeners, readRelations, relationsEqual, relationsHashCode, relationsString, set, set, toString, transform, writeRelations
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden org.obrel.core.Relatable
deleteRelation, deleteRelations, getAll, getOption, getRelationCount, getRelations, hasFlag, hasRelation, hasRelations, init, set, set, set, setOption, streamRelations
-
Konstruktordetails
-
StepListEntry
Creates a new StepListEntry for a named step with a specific follow-up step.- Parameter:
stepName
- The name of the stepstepClass
- The class to create the step from
-
StepListEntry
public StepListEntry(String stepName, Class<? extends ProcessFragment> stepClass, String... configEntries) Creates a new StepListEntry for a named step with a specific follow-up step and a configuration map for the step.- Parameter:
stepName
- The name of the stepstepClass
- The class to create the step fromconfigEntries
- The configuration for the step
-
StepListEntry
Creates a new StepListEntry for a named step with a specific follow-up step and a configuration map for the step.If the step class has been defined by a class literal (i.e. as <StepName>.class) in the call to this constructor the class may not have been loaded yet and any parameter types defined in it haven't been created yet too. Therefore this constructor loads the step class before parsing the configuration so that any parameter relation types referenced there are available. There's still a chance that the parsing fails if the configuration references a parameter type that is defined in a step referenced only by a step list entry that is created later.
- Parameter:
stepName
- The name of the stepstepClass
- The class to create the step fromconfig
- The configuration for the step
-
-
Methodendetails
-
getNextStep
Returns the name of the next step that will be executed after this one.- Gibt zurück:
- The name of the next step
-
getStepName
Returns the name of the process step.- Gibt zurück:
- The stepName value
-
thenEndProcess
Convenience method to end the process after the current step has been executed.- Gibt zurück:
- This entry to allow further method invocations
-
thenGoTo
Sets the name of the next step to be executed after this one.- Parameter:
nextStep
- The name of the next step
-
thenGoTo
Sets the class of the next step to be executed after this one.- Parameter:
nextStep
- The class of the next step
-