Class ExternalCallActionCreator
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.ExternalCallActionCreator
This class constructs an
ExternalCallAction
. It is used to create the 'ExternalCallAction' object
step-by-step, i.e. 'ExternalCallActionCreator' objects are of intermediate state.- See Also:
-
ExternalCallAction
-
Field Summary
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.ExternalCallAction
build()
Turns the entity in the making into the finished entity.withCalledService
(org.palladiosimulator.pcm.repository.OperationSignature signature) Specifies thesignature
of the service that is called on by this action.withFailureType
(org.palladiosimulator.pcm.reliability.FailureType failure) Adds the failure typefailure
to this action's list of failure types.withInputVariableUsage
(VariableUsageCreator variableUsage) Adds thevariableUsage
to this action's list of input variable usages.Defines the unique name of this current entity.withRequiredRole
(org.palladiosimulator.pcm.repository.OperationRequiredRole requiredRole) Specifies therequiredRole
corresponding to the service that is called on by this action.withRetryCount
(int retryCount) Specifies theretryCount
of this external call action.withReturnVariableUsage
(VariableUsageCreator variableUsage) Adds thevariableUsage
to this action's list of return variable usages.Methods inherited from class org.palladiosimulator.generator.fluent.repository.structure.components.seff.SeffAction
followedBy
-
Constructor Details
-
ExternalCallActionCreator
-
-
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. -
withRetryCount
Specifies theretryCount
of this external call action.- Parameters:
retryCount
-- Returns:
- this external call action in the making
-
withCalledService
public ExternalCallActionCreator withCalledService(org.palladiosimulator.pcm.repository.OperationSignature signature) Specifies thesignature
of the service that is called on by this action.An existing
signature
can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfOperationSignature(name)
.- Parameters:
signature
-- Returns:
- this external call action in the making
- See Also:
-
withRequiredRole
public ExternalCallActionCreator withRequiredRole(org.palladiosimulator.pcm.repository.OperationRequiredRole requiredRole) Specifies therequiredRole
corresponding to the service that is called on by this action.An existing
requiredRole
can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfOperationRequiredRole(name)
.- Parameters:
requiredRole
-- Returns:
- this external call action in the making
- See Also:
-
withFailureType
public ExternalCallActionCreator withFailureType(org.palladiosimulator.pcm.reliability.FailureType failure) Adds the failure typefailure
to this action's list of failure types.An existing
failure
can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, e.g.create.fetchOfFailureType(name)
.- Parameters:
failure
-- Returns:
- this external call action in the making
- See Also:
-
build
protected org.palladiosimulator.pcm.seff.ExternalCallAction 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
-