Class PcmUserAction
java.lang.Object
org.palladiosimulator.protocom.lang.java.util.PcmUserAction
- Direct Known Subclasses:
PcmProtoUserAction
,PcmStubUserAction
Abstract class for implementing PCM actions, i.e., the behavior of components as specified
via SEFFs. Refinements of this class could, for instance, add simulate stack frames for performance
prototypes or provide code stub generation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
_userAction
(org.palladiosimulator.pcm.usagemodel.Branch userAction) UserActions only have probabilistic transitions.protected String
_userAction
(org.palladiosimulator.pcm.usagemodel.Delay userAction) FIXME Implement and test this action with Thread.sleepprotected String
_userAction
(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall userAction) EntryLevelSystemCall is an user action which calls a system service from an usage scenario.protected String
_userAction
(org.palladiosimulator.pcm.usagemodel.Loop userAction) Loop actions are transformed into a simple FOR statement.protected String
_userAction
(org.palladiosimulator.pcm.usagemodel.Start userAction) protected String
_userAction
(org.palladiosimulator.pcm.usagemodel.Stop userAction) static org.palladiosimulator.pcm.usagemodel.Start
findUserStart
(Iterable<org.palladiosimulator.pcm.usagemodel.AbstractUserAction> actions) And another helper method, since Actions and UserActions are *obviously* so different that they cannot have a common supertype...userAction
(org.palladiosimulator.pcm.usagemodel.AbstractUserAction userAction) userActions
(org.palladiosimulator.pcm.usagemodel.AbstractUserAction userAction) Follows the user action path and calls "userAction" for each action in it.
-
Constructor Details
-
PcmUserAction
public PcmUserAction()
-
-
Method Details
-
userActions
Follows the user action path and calls "userAction" for each action in it. Note that actions do not branch! Branching is solved by a Branch action, therefore at most one successor is given at any time. -
_userAction
EntryLevelSystemCall is an user action which calls a system service from an usage scenario. -
_userAction
FIXME Implement and test this action with Thread.sleep -
_userAction
-
_userAction
-
_userAction
Loop actions are transformed into a simple FOR statement. -
_userAction
UserActions only have probabilistic transitions. -
findUserStart
public static org.palladiosimulator.pcm.usagemodel.Start findUserStart(Iterable<org.palladiosimulator.pcm.usagemodel.AbstractUserAction> actions) And another helper method, since Actions and UserActions are *obviously* so different that they cannot have a common supertype... -
userAction
-