Interface Seff
- All Known Implementing Classes:
SeffCreator
public interface Seff
TODO
-
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.pcm.seff.ServiceEffectSpecification
build()
org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour
org.palladiosimulator.pcm.seff.ResourceDemandingSEFF
onSignature
(org.palladiosimulator.pcm.repository.Signature signature) Defines the signature of the service that this SEFF's behaviour is modeling.withInternalBehaviour
(InternalSeff internalBehaviour) AddsinternalBehaviour
to this SEFF's internal behaviours.Specifies the body behaviour of this SEFF.withSeffTypeID
(String seffTypeID) Defines the SEFF Type ID.
-
Method Details
-
onSignature
Defines the signature of the service that this SEFF's behaviour is modeling.An existing
signature
can be fetched from the repository using the factory, i.e.create.fetchOfSignature(name)
.- Parameters:
signature
-- Returns:
- this SEFF in the making
- See Also:
-
factory.FluentRepositoryFactory#fetchOfSignature(String)
-
withSeffTypeID
Defines the SEFF Type ID. Default=1.- Parameters:
seffTypeID
-- Returns:
- this SEFF in the making
- See Also:
-
ServiceEffectSpecification.getSeffTypeID()
-
withInternalBehaviour
AddsinternalBehaviour
to this SEFF's internal behaviours.It models the behaviour of a component service as a sequence of internal actions with resource demands, control flow constructs, and external calls. Therefore, the class contains a chain of AbstractActions.
- Parameters:
internalBehaviour
-- Returns:
- this SEFF in the making
- See Also:
-
ResourceDemandingInternalBehaviour
-
withSeffBehaviour
StartSeff withSeffBehaviour()Specifies the body behaviour of this SEFF. Every body behaviour starts with astart action
followed by an arbitrary amount of otheractions
. The body behaviour always ends with a stop action and a finishing call on the methodcreateBehaviourNow()
.- Returns:
- this SEFF's starting body behaviour
-
build
org.palladiosimulator.pcm.seff.ServiceEffectSpecification build() -
buildRDSeff
org.palladiosimulator.pcm.seff.ResourceDemandingSEFF buildRDSeff() -
buildBehaviour
org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour buildBehaviour()
-