Class PcmStubUserAction
- java.lang.Object
-
- org.palladiosimulator.protocom.lang.java.util.PcmUserAction
-
- org.palladiosimulator.protocom.lang.java.util.PcmStubUserAction
-
- Direct Known Subclasses:
PcmRMIStubUserAction
public class PcmStubUserAction extends PcmUserAction
Defines templates for actions of both kinds: SEFF actions and user actions.
-
-
Constructor Summary
Constructors Constructor Description PcmStubUserAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
_userAction(org.palladiosimulator.pcm.usagemodel.Branch userAction)
UserActions only have probabilistic transitions.protected 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.String
userAction(org.palladiosimulator.pcm.usagemodel.AbstractUserAction userAction)
-
Methods inherited from class org.palladiosimulator.protocom.lang.java.util.PcmUserAction
_userAction, _userAction, _userAction, findUserStart, userActions
-
-
-
-
Method Detail
-
_userAction
protected String _userAction(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall userAction)
EntryLevelSystemCall is an user action which calls a system service from an usage scenario.- Overrides:
_userAction
in classPcmUserAction
-
_userAction
protected String _userAction(org.palladiosimulator.pcm.usagemodel.Loop userAction)
Loop actions are transformed into a simple FOR statement.- Overrides:
_userAction
in classPcmUserAction
-
_userAction
protected String _userAction(org.palladiosimulator.pcm.usagemodel.Branch userAction)
UserActions only have probabilistic transitions. That might even make sense for test generation for code stubs. Therefore, This might be added here. TODO Branch user actions are currently not generated with code stubs. AS probabilities make sense here the ctx object might be useful. In any case, for test generation, user actions should be included in future.- Overrides:
_userAction
in classPcmUserAction
-
userAction
public String userAction(org.palladiosimulator.pcm.usagemodel.AbstractUserAction userAction)
- Overrides:
userAction
in classPcmUserAction
-
-