Class GeneralAction

    • Field Detail

      • demands

        protected List<org.palladiosimulator.pcm.seff.seff_performance.ParametricResourceDemand> demands
      • infrastructureCalls

        protected List<org.palladiosimulator.pcm.seff.seff_performance.InfrastructureCall> infrastructureCalls
      • resourceCalls

        protected List<org.palladiosimulator.pcm.seff.seff_performance.ResourceCall> resourceCalls
    • Constructor Detail

      • GeneralAction

        public GeneralAction()
    • Method Detail

      • withResourceDemand

        public GeneralAction withResourceDemand​(String specificationStochasticExpression,
                                                ProcessingResource processingResource)
        Adds a ParametricResourceDemand to this action.

        Parametric Resource Demand specifies the amount of processing requested from a certain type of resource in a parameterized way. It assigns the demand specified as a Random-Variable (specification_stochasticExpression) to an abstract ProcessingResourceType processingResource(e.g., CPU, hard disk) instead of a concrete ProcessingResourceSpecification (e.g., 5 GHz CPU, 20 MByte/s hard disk).

        Parameters:
        specificationStochasticExpression -
        processingResource -
        Returns:
        this action in the making
      • withInfrastructureCall

        public GeneralAction withInfrastructureCall​(String numberOfCallsStochasticExpression,
                                                    org.palladiosimulator.pcm.repository.InfrastructureSignature signature,
                                                    org.palladiosimulator.pcm.repository.InfrastructureRequiredRole requiredRole,
                                                    VariableUsageCreator... variableUsages)
        Adds an InfrastructureCall to this action.
        Parameters:
        numberOfCallsStochasticExpression -
        signature -
        requiredRole -
        variableUsages -
        Returns:
        this action in the making
      • withResourceCall

        public GeneralAction withResourceCall​(String numberOfCallsStochasticExpression,
                                              ResourceSignature signature,
                                              org.palladiosimulator.pcm.core.entity.ResourceRequiredRole requiredRole,
                                              VariableUsageCreator... variableUsages)
        Adds a ResourceCall to this action.
        Parameters:
        numberOfCallsStochasticExpression -
        signature -
        requiredRole -
        variableUsages -
        Returns:
        this action in the making