Class InstallExternalCallParameterHandling

  • All Implemented Interfaces:
    ICommand<Void,​PCMModel>, IPCMCommand<Void>

    public class InstallExternalCallParameterHandling
    extends Object
    implements IPCMCommand<Void>
    This command sets up the handling of PCM parameter characterisations for ExternalCallActions. ExternalCallActions accept input parameters and can return output parameters, both of which are realised by modifying the current stack frame (see: StackContext). These modifications are performed by this command, once installed.
    • Constructor Detail

      • InstallExternalCallParameterHandling

        public InstallExternalCallParameterHandling​(TraversalListenerRegistry<org.palladiosimulator.pcm.seff.AbstractAction,​Request> traversalListeners)
    • Method Detail

      • execute

        public Void execute​(PCMModel pcm,
                            ICommandExecutor<PCMModel> executor)
        Executes the operation encapsulated by this class.

        Notice: This method is not intended to be called by clients. Use a ICommandExecutor instead to execute the operation.

        Specified by:
        execute in interface ICommand<Void,​PCMModel>
        Parameters:
        pcm - the model
        executor - the ICommandExecutor that currently executes this operation. Use this reference to invoke sub-operations also implementing this ICommand interface.
        Returns:
      • cachable

        public boolean cachable()
        Specified by:
        cachable in interface ICommand<Void,​PCMModel>
        Returns:
        whether the command may be cached or not.