Class PcmStubUserAction

  • Direct Known Subclasses:
    PcmRMIStubUserAction

    public class PcmStubUserAction
    extends PcmUserAction
    Defines templates for actions of both kinds: SEFF actions and user actions.
    • Constructor Detail

      • PcmStubUserAction

        public PcmStubUserAction()
    • 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 class PcmUserAction
      • _userAction

        protected String _userAction​(org.palladiosimulator.pcm.usagemodel.Loop userAction)
        Loop actions are transformed into a simple FOR statement.
        Overrides:
        _userAction in class PcmUserAction
      • _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 class PcmUserAction
      • userAction

        public String userAction​(org.palladiosimulator.pcm.usagemodel.AbstractUserAction userAction)
        Overrides:
        userAction in class PcmUserAction