Class SeffAction
- java.lang.Object
-
- org.palladiosimulator.generator.fluent.shared.structure.Entity
-
- org.palladiosimulator.generator.fluent.repository.structure.RepositoryEntity
-
- org.palladiosimulator.generator.fluent.repository.structure.components.seff.SeffAction
-
- Direct Known Subclasses:
EmitEventActionCreator,ExternalCallActionCreator,GeneralAction
public abstract class SeffAction extends RepositoryEntity
This class provides the general infrastructure of a SEFF action: an action belongs to a SEFF and has a successor. All actions except for the StopAction inherit from this class.
-
-
Field Summary
Fields Modifier and Type Field Description protected SeffCreatorseff-
Fields inherited from class org.palladiosimulator.generator.fluent.repository.structure.RepositoryEntity
repository
-
-
Constructor Summary
Constructors Constructor Description SeffAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.palladiosimulator.pcm.seff.AbstractActionbuild()Turns the entity in the making into the finished entity.ActionSefffollowedBy()Turns the previous action-in-the-making into an 'AbstractAction' object.
-
-
-
Field Detail
-
seff
protected SeffCreator seff
-
-
Method Detail
-
build
protected abstract org.palladiosimulator.pcm.seff.AbstractAction build()
Description copied from class:EntityTurns the entity in the making into the finished entity.
-
followedBy
public ActionSeff followedBy() throws IllegalStateException
Turns the previous action-in-the-making into an 'AbstractAction' object. The action is added to the SEFF's body behaviour and its predecessor is set so that the actions are linked in the correct order.- Returns:
- the SEFF's body behaviour
- Throws:
IllegalStateException- if internal SEFF creator is not set. This is the responsibility of the implementing class.
-
-