Class InternalActionCreator
java.lang.Object
org.palladiosimulator.generator.fluent.shared.structure.Entity
org.palladiosimulator.generator.fluent.repository.structure.RepositoryEntity
org.palladiosimulator.generator.fluent.repository.structure.components.seff.SeffAction
org.palladiosimulator.generator.fluent.repository.structure.components.seff.GeneralAction
org.palladiosimulator.generator.fluent.repository.structure.components.seff.InternalActionCreator
This class constructs a
InternalAction
. It
is used to create the 'InternalAction' object step-by-step, i.e.
'InternalActionCreator' objects are of intermediate state.- See Also:
-
InternalAction
-
Field Summary
Fields inherited from class org.palladiosimulator.generator.fluent.repository.structure.components.seff.GeneralAction
demands, infrastructureCalls, resourceCalls
Fields inherited from class org.palladiosimulator.generator.fluent.repository.structure.components.seff.SeffAction
seff
Fields inherited from class org.palladiosimulator.generator.fluent.repository.structure.RepositoryEntity
repository
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.palladiosimulator.pcm.seff.InternalAction
build()
Turns the entity in the making into the finished entity.withInfrastructureCall
(String numberOfCallsStochasticExpression, org.palladiosimulator.pcm.repository.InfrastructureSignature signature, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole requiredRole, VariableUsageCreator... variableUsages) Adds anInfrastructureCall
to this action.withInternalFailureOccurrenceDescription
(double failureProbability, org.palladiosimulator.pcm.reliability.SoftwareInducedFailureType failureType) Creates an internal failure occurrence description with the failure probabilityfailureProbability
of the software induced failure typefailureType
and adds it to this action's list of internal failure occurrence descriptions.Defines the unique name of this current entity.withResourceCall
(String numberOfCallsStochasticExpression, ResourceSignature signature, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole requiredRole, VariableUsageCreator... variableUsages) Adds aResourceCall
to this action.withResourceDemand
(String specificationStochasticExpression, ProcessingResource processingResource) Adds aParametricResourceDemand
to this action.Methods inherited from class org.palladiosimulator.generator.fluent.repository.structure.components.seff.SeffAction
followedBy
-
Constructor Details
-
InternalActionCreator
-
-
Method Details
-
withName
Description copied from class:Entity
Defines the unique name of this current entity. Once created entities are referenced by this name. Only entities with a unique name can be fetched from the model. -
withInternalFailureOccurrenceDescription
public InternalActionCreator withInternalFailureOccurrenceDescription(double failureProbability, org.palladiosimulator.pcm.reliability.SoftwareInducedFailureType failureType) Creates an internal failure occurrence description with the failure probabilityfailureProbability
of the software induced failure typefailureType
and adds it to this action's list of internal failure occurrence descriptions.- Parameters:
failureProbability
-failureType
-- Returns:
- this internal action in the making
- See Also:
-
InternalFailureOccurrenceDescription
-
build
protected org.palladiosimulator.pcm.seff.InternalAction build()Description copied from class:Entity
Turns the entity in the making into the finished entity.- Specified by:
build
in classSeffAction
- Returns:
- the finished entity
-