Interface StopSeff
-
- All Known Implementing Classes:
StopActionCreator
public interface StopSeff
TODO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SeffCreator
createBehaviourNow()
The body behaviour always ends with a stop action and a finishing call on this method.StopActionCreator
withInfrastructureCall(String numberOfCallsStochasticExpression, org.palladiosimulator.pcm.repository.InfrastructureSignature signature, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole requiredRole, VariableUsageCreator... variableUsages)
Adds anInfrastructureCall
to this action.StopActionCreator
withName(String name)
Defines the name of this stop action.StopActionCreator
withResourceCall(String numberOfCallsStochasticExpression, ResourceSignature signature, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole requiredRole, VariableUsageCreator... variableUsages)
Adds aResourceCall
to this action.StopActionCreator
withResourceDemand(String specificationStochasticExpression, ProcessingResource processingResource)
Adds aParametricResourceDemand
to this action.
-
-
-
Method Detail
-
withName
StopActionCreator withName(String name)
Defines the name of this stop action.- Parameters:
name
-- Returns:
- this stop action
-
withResourceDemand
StopActionCreator withResourceDemand(String specificationStochasticExpression, ProcessingResource processingResource)
Adds aParametricResourceDemand
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 ProcessingResourceTypeprocessingResource
(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
StopActionCreator withInfrastructureCall(String numberOfCallsStochasticExpression, org.palladiosimulator.pcm.repository.InfrastructureSignature signature, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole requiredRole, VariableUsageCreator... variableUsages)
Adds anInfrastructureCall
to this action.- Parameters:
numberOfCallsStochasticExpression
-signature
-requiredRole
-variableUsages
-- Returns:
- this stop action in the making
-
withResourceCall
StopActionCreator withResourceCall(String numberOfCallsStochasticExpression, ResourceSignature signature, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole requiredRole, VariableUsageCreator... variableUsages)
Adds aResourceCall
to this action.- Parameters:
numberOfCallsStochasticExpression
-signature
-requiredRole
-variableUsages
-- Returns:
- this stop action in the making
-
createBehaviourNow
SeffCreator createBehaviourNow()
The body behaviour always ends with a stop action and a finishing call on this method. It turns the stop-action-in-the-making into a 'StopAction' and adds it to the SEFF'S/behaviour's stepwise body behaviour- Returns:
- the SEFF/behaviour
-
-