Class DelayActionCreator
- java.lang.Object
-
- org.palladiosimulator.generator.fluent.shared.structure.Entity
-
- org.palladiosimulator.generator.fluent.usagemodel.structure.UsageModelEntity
-
- org.palladiosimulator.generator.fluent.usagemodel.structure.components.actions.ActionCreator
-
- org.palladiosimulator.generator.fluent.usagemodel.structure.components.actions.DelayActionCreator
-
public class DelayActionCreator extends ActionCreator
This class constructs aDelay. It is used to create the 'Delay' object step-by-step, i.e. 'DelayActionCreator' objects are of intermediate state.- See Also:
Delay,AbstractUserAction
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.generator.fluent.usagemodel.structure.components.actions.ActionCreator
successor
-
Fields inherited from class org.palladiosimulator.generator.fluent.usagemodel.structure.UsageModelEntity
usageModelCreator
-
-
Constructor Summary
Constructors Constructor Description DelayActionCreator(String timeSpecification)Instantiates a new delay action creator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.usagemodel.Delaybuild()Turns the entity in the making into the finished entity.DelayActionCreatorwithName(String name)Defines the unique name of this current entity.DelayActionCreatorwithSuccessor(ActionCreator action)Adds anAbstract User Actionas successor.-
Methods inherited from class org.palladiosimulator.generator.fluent.usagemodel.structure.components.actions.ActionCreator
getSuccessor
-
-
-
-
Constructor Detail
-
DelayActionCreator
public DelayActionCreator(String timeSpecification)
Instantiates a new delay action creator.A Delay represents a timing delay as a RandomVariable between two user actions. The Delay is included into the usage model to express that users do not call system services in direct successions,but usually need some time to determine their next action. User delays are for example useful,if a performance analyst wants to determine the execution time for a complete scenario behaviour (instead of a single service), which needs to include user delays.
- Parameters:
timeSpecification- the time specification- See Also:
Delay,AbstractUserAction
-
-
Method Detail
-
build
public org.palladiosimulator.pcm.usagemodel.Delay build()
Description copied from class:EntityTurns the entity in the making into the finished entity.- Specified by:
buildin classActionCreator- Returns:
- the finished entity
-
withSuccessor
public DelayActionCreator withSuccessor(ActionCreator action)
Description copied from class:ActionCreatorAdds anAbstract User Actionas successor.Create a new action by using the org.palladiosimulator.generator.fluent.usagemodel.factory, i.e.
create.newBranchAction().- Overrides:
withSuccessorin classActionCreator- Parameters:
action- in the making- Returns:
- the current action in the making
- See Also:
AbstractUserAction
-
withName
public DelayActionCreator withName(String name)
Description copied from class:EntityDefines 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:
withNamein classActionCreator- Returns:
- this current entity in the making
-
-