public abstract class InheritableJobElement extends Object
Job
,
Step
,
Flow
,
Serialized FormModifier | Constructor and Description |
---|---|
protected |
InheritableJobElement(String id) |
Modifier and Type | Method and Description |
---|---|
void |
addTransitionElement(Transition transition)
Adds a
org.jberet.job.model.Transition to the list of transition elements of this job element. |
String |
getId()
Gets the id of this job element.
|
Listeners |
getListeners()
Gets all listeners as
Listeners for this job element. |
Properties |
getProperties()
Gets the
org.jberet.job.model.Properties contained in this job element. |
List<Transition> |
getTransitionElements()
Gets the list of transition elements, such as
Transition.End ,
Transition.Fail , Transition.Next ,
Transition.Stop . |
boolean |
isAbstract()
Checks if this job element is abstract, which is specified by its
abstract attribute. |
void |
setListeners(Listeners listeners)
Sets all listerners for this job element.
|
void |
setProperties(Properties properties)
Sets the
org.jberet.job.model.Properties contained in this job element. |
protected InheritableJobElement(String id)
public boolean isAbstract()
abstract
attribute. It defaults to
false
.public Listeners getListeners()
Listeners
for this job element.public void setListeners(Listeners listeners)
listeners
- all listeners as Listeners
public final String getId()
JobElement
getId
in interface JobElement
public List<Transition> getTransitionElements()
JobElement
Transition.End
,
Transition.Fail
, Transition.Next
,
Transition.Stop
.getTransitionElements
in interface JobElement
public void addTransitionElement(Transition transition)
JobElement
org.jberet.job.model.Transition
to the list of transition elements of this job element.addTransitionElement
in interface JobElement
transition
- a org.jberet.job.model.Transition
public Properties getProperties()
org.jberet.job.model.Properties
contained in this job element.org.jberet.job.model.Properties
contained in this job elementpublic void setProperties(Properties properties)
org.jberet.job.model.Properties
contained in this job element.properties
- org.jberet.job.model.Properties
for this job elementCopyright © 2019 JBoss by Red Hat. All rights reserved.