Class ActionCreator

    • Field Detail

      • successor

        protected org.palladiosimulator.pcm.usagemodel.AbstractUserAction successor
    • Constructor Detail

      • ActionCreator

        public ActionCreator()
    • Method Detail

      • build

        public abstract org.palladiosimulator.pcm.usagemodel.AbstractUserAction build()
        Description copied from class: Entity
        Turns the entity in the making into the finished entity.
        Specified by:
        build in class Entity
        Returns:
        the finished entity
      • withSuccessor

        public ActionCreator withSuccessor​(ActionCreator action)
        Adds an Abstract User Action as successor.

        Create a new action by using the org.palladiosimulator.generator.fluent.usagemodel.factory, i.e. create.newBranchAction().

        Parameters:
        action - in the making
        Returns:
        the current action in the making
        See Also:
        AbstractUserAction
      • getSuccessor

        public org.palladiosimulator.pcm.usagemodel.AbstractUserAction getSuccessor()
                                                                             throws IllegalStateException
        Returns the successor of the current action.
        Returns:
        the successor of the current action in the making
        Throws:
        IllegalStateException - if withSuccessor() has not been called before
        See Also:
        AbstractUserAction
      • withName

        public ActionCreator withName​(String name)
        Description copied from class: Entity
        Defines the unique name of this current entity. Once created entities are referenced by this name. Only entities with a unique name can be fetched from the model.
        Overrides:
        withName in class Entity
        Returns:
        this current entity in the making