Class FluentSystemFactory
java.lang.Object
org.palladiosimulator.generator.fluent.system.factory.FluentSystemFactory
This class provides all the methods to create a
System
and create entities that are added to this System. Characteristics of the entities are
specified by method chaining.
Start creating a org.palladiosimulator.generator.fluent.system like this: //add assembly contexts, connectors and roles to the org.palladiosimulator.generator.fluent.system .createSystemNow();
FluentSystemFactory create = new FluentSystemFactory();
System org.palladiosimulator.generator.fluent.system = create.newSystem()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionStart the creation of aAssemblyConnector
.Start the creation of aAssemblyContext
.Start the creation of aAssemblyEventConnector
.Start the creation of aAssemblyInfrastructureConnector
.Start the creation of aEventChannel
.Start the creation of aEventChannelSinkConnector
.Start the creation of aEventChannelSourceConnector
.Start the creation of aInfrastructureProvidedRole
.Start the creation of aInfrastructureRequiredRole
.Start the creation of aOperationProvidedRole
.Start the creation of aOperationRequiredRole
.Start the creation of aProvidedDelegationConnector
.Start the creation of aProvidedInfrastructureDelegationConnector
.Start the creation ofQoSAnnotations
.Start the creation of aRequiredDelegationConnector
.Start the creation of aRequiredInfrastructureDelegationConnector
.Start the creation of aRequiredResourceDelegationConnector
.Start the creation of aResourceRequiredDelegationConnector
.Start the creation of aResourceRequiredRole
.Start the creation of aSinkDelegationConnector
.Start the creation of aSinkRole
.Start the creation of aSourceDelegationConnector
.Start the creation of aSourceRole
.Start the creation of aSystem
.
-
Constructor Details
-
FluentSystemFactory
public FluentSystemFactory()
-
-
Method Details
-
newSystem
Start the creation of aSystem
.- Returns:
- the
System
in the making - See Also:
-
System
-
newAssemblyContext
Start the creation of aAssemblyContext
.- Returns:
- the
AssemblyContext
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
AssemblyContext
-
newAssemblyConnector
Start the creation of aAssemblyConnector
.- Returns:
- the
AssemblyConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
AssemblyConnector
-
newOperationRequiredRole
Start the creation of aOperationRequiredRole
.- Returns:
- the
OperationRequiredRole
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
OperationRequiredRole
-
newRequiredDelegationConnectorCreator
public RequiredDelegationConnectorCreator newRequiredDelegationConnectorCreator() throws IllegalStateExceptionStart the creation of aRequiredDelegationConnector
.- Returns:
- the
RequiredDelegationConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
RequiredDelegationConnector
-
newOperationProvidedRole
Start the creation of aOperationProvidedRole
.- Returns:
- the
OperationProvidedRole
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
OperationProvidedRole
-
newProvidedDelegationConnectorCreator
public ProvidedDelegationConnectorCreator newProvidedDelegationConnectorCreator() throws IllegalStateExceptionStart the creation of aProvidedDelegationConnector
.- Returns:
- the
ProvidedDelegationConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
ProvidedDelegationConnector
-
newEventChannelCreator
Start the creation of aEventChannel
.- Returns:
- the
EventChannel
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
EventChannel
-
newEventChannelSinkConnector
Start the creation of aEventChannelSinkConnector
.- Returns:
- the
EventChannelSinkConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
EventChannelSinkConnector
-
newEventChannelSourceConnector
public EventChannelSourceConnectorCreator newEventChannelSourceConnector() throws IllegalSelectorExceptionStart the creation of aEventChannelSourceConnector
.- Returns:
- the
EventChannelSourceConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called beforeIllegalSelectorException
- See Also:
-
EventChannelSourceConnector
-
newSinkRole
Start the creation of aSinkRole
.- Returns:
- the
SinkRole
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
SinkRole
-
newSinkDelegationConnector
Start the creation of aSinkDelegationConnector
.- Returns:
- the
SinkDelegationConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
SinkDelegationConnector
-
newSourceRole
Start the creation of aSourceRole
.- Returns:
- the
SourceRole
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
SourceRole
-
newSourceDelegationConnector
Start the creation of aSourceDelegationConnector
.- Returns:
- the
SourceDelegationConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
SourceDelegationConnector
-
newAssemblyEventConnector
Start the creation of aAssemblyEventConnector
.- Returns:
- the
AssemblyEventConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
AssemblyEventConnector
-
newAssemblyInfrastructureConnector
public AssemblyInfrastructureConnectorCreator newAssemblyInfrastructureConnector() throws IllegalStateExceptionStart the creation of aAssemblyInfrastructureConnector
.- Returns:
- the
AssemblyInfrastructureConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
AssemblyInfrastructureConnector
-
newInfrastructureRequiredRole
public InfrastructureRequiredRoleCreator newInfrastructureRequiredRole() throws IllegalStateExceptionStart the creation of aInfrastructureRequiredRole
.- Returns:
- the
InfrastructureRequiredRole
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
InfrastructureRequiredRole
-
newRequiredInfrastructureDelegationConnector
public RequiredInfrastructureDelegationConnectorCreator newRequiredInfrastructureDelegationConnector() throws IllegalStateExceptionStart the creation of aRequiredInfrastructureDelegationConnector
.- Returns:
- the
RequiredInfrastructureDelegationConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
RequiredInfrastructureDelegationConnector
-
newInfrastructureProvidedRole
public InfrastructureProvidedRoleCreator newInfrastructureProvidedRole() throws IllegalStateExceptionStart the creation of aInfrastructureProvidedRole
.- Returns:
- the
InfrastructureProvidedRole
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
InfrastructureProvidedRole
-
newProvidedInfrastructureDelegationConnector
public ProvidedInfrastructureDelegationConnectorCreator newProvidedInfrastructureDelegationConnector() throws IllegalStateExceptionStart the creation of aProvidedInfrastructureDelegationConnector
.- Returns:
- the
ProvidedInfrastructureDelegationConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
ProvidedInfrastructureDelegationConnector
-
newQoSAnnotations
Start the creation ofQoSAnnotations
.- Returns:
- the
QoSAnnotations
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
QoSAnnotations
-
newResourceRequiredRole
Start the creation of aResourceRequiredRole
.- Returns:
- the
ResourceRequiredRole
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
ResourceRequiredRole
-
newResourceRequiredDelegationConnector
public ResourceRequiredDelegationConnectorCreator newResourceRequiredDelegationConnector() throws IllegalStateExceptionStart the creation of aResourceRequiredDelegationConnector
.- Returns:
- the
ResourceRequiredDelegationConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called before- See Also:
-
ResourceRequiredDelegationConnector
-
newRequiredResourceDelegationConnector
public RequiredResourceDelegationConnectorCreator newRequiredResourceDelegationConnector() throws IllegalSelectorExceptionStart the creation of aRequiredResourceDelegationConnector
.- Returns:
- the
RequiredResourceDelegationConnector
in the making - Throws:
IllegalStateException
- if newSystem has not been called beforeIllegalSelectorException
- See Also:
-
RequiredResourceDelegationConnector
-