Class FluentSystemFactory
- java.lang.Object
-
- org.palladiosimulator.generator.fluent.system.factory.FluentSystemFactory
-
public class FluentSystemFactory extends Object
This class provides all the methods to create aSystemand 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:
FluentSystemFactory create = new FluentSystemFactory();
System org.palladiosimulator.generator.fluent.system = create.newSystem()
//add assembly contexts, connectors and roles to the org.palladiosimulator.generator.fluent.system
.createSystemNow();
-
-
Constructor Summary
Constructors Constructor Description FluentSystemFactory()
-
Method Summary
-
-
-
Method Detail
-
newSystem
public ISystem newSystem()
Start the creation of aSystem.- Returns:
- the
Systemin the making - See Also:
System
-
newAssemblyContext
public AssemblyContextCreator newAssemblyContext() throws IllegalStateException
Start the creation of aAssemblyContext.- Returns:
- the
AssemblyContextin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
AssemblyContext
-
newAssemblyConnector
public AssemblyConnectorCreator newAssemblyConnector() throws IllegalStateException
Start the creation of aAssemblyConnector.- Returns:
- the
AssemblyConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
AssemblyConnector
-
newOperationRequiredRole
public OperationRequiredRoleCreator newOperationRequiredRole() throws IllegalStateException
Start the creation of aOperationRequiredRole.- Returns:
- the
OperationRequiredRolein the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
OperationRequiredRole
-
newRequiredDelegationConnectorCreator
public RequiredDelegationConnectorCreator newRequiredDelegationConnectorCreator() throws IllegalStateException
Start the creation of aRequiredDelegationConnector.- Returns:
- the
RequiredDelegationConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
RequiredDelegationConnector
-
newOperationProvidedRole
public OperationProvidedRoleCreator newOperationProvidedRole() throws IllegalStateException
Start the creation of aOperationProvidedRole.- Returns:
- the
OperationProvidedRolein the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
OperationProvidedRole
-
newProvidedDelegationConnectorCreator
public ProvidedDelegationConnectorCreator newProvidedDelegationConnectorCreator() throws IllegalStateException
Start the creation of aProvidedDelegationConnector.- Returns:
- the
ProvidedDelegationConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
ProvidedDelegationConnector
-
newEventChannelCreator
public EventChannelCreator newEventChannelCreator() throws IllegalStateException
Start the creation of aEventChannel.- Returns:
- the
EventChannelin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
EventChannel
-
newEventChannelSinkConnector
public EventChannelSinkConnectorCreator newEventChannelSinkConnector() throws IllegalStateException
Start the creation of aEventChannelSinkConnector.- Returns:
- the
EventChannelSinkConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
EventChannelSinkConnector
-
newEventChannelSourceConnector
public EventChannelSourceConnectorCreator newEventChannelSourceConnector() throws IllegalSelectorException
Start the creation of aEventChannelSourceConnector.- Returns:
- the
EventChannelSourceConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called beforeIllegalSelectorException- See Also:
EventChannelSourceConnector
-
newSinkRole
public SinkRoleCreator newSinkRole() throws IllegalStateException
Start the creation of aSinkRole.- Returns:
- the
SinkRolein the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
SinkRole
-
newSinkDelegationConnector
public SinkDelegationConnectorCreator newSinkDelegationConnector() throws IllegalStateException
Start the creation of aSinkDelegationConnector.- Returns:
- the
SinkDelegationConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
SinkDelegationConnector
-
newSourceRole
public SourceRoleCreator newSourceRole() throws IllegalStateException
Start the creation of aSourceRole.- Returns:
- the
SourceRolein the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
SourceRole
-
newSourceDelegationConnector
public SourceDelegationConnectorCreator newSourceDelegationConnector() throws IllegalStateException
Start the creation of aSourceDelegationConnector.- Returns:
- the
SourceDelegationConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
SourceDelegationConnector
-
newAssemblyEventConnector
public AssemblyEventConnectorCreator newAssemblyEventConnector() throws IllegalStateException
Start the creation of aAssemblyEventConnector.- Returns:
- the
AssemblyEventConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
AssemblyEventConnector
-
newAssemblyInfrastructureConnector
public AssemblyInfrastructureConnectorCreator newAssemblyInfrastructureConnector() throws IllegalStateException
Start the creation of aAssemblyInfrastructureConnector.- Returns:
- the
AssemblyInfrastructureConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
AssemblyInfrastructureConnector
-
newInfrastructureRequiredRole
public InfrastructureRequiredRoleCreator newInfrastructureRequiredRole() throws IllegalStateException
Start the creation of aInfrastructureRequiredRole.- Returns:
- the
InfrastructureRequiredRolein the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
InfrastructureRequiredRole
-
newRequiredInfrastructureDelegationConnector
public RequiredInfrastructureDelegationConnectorCreator newRequiredInfrastructureDelegationConnector() throws IllegalStateException
Start the creation of aRequiredInfrastructureDelegationConnector.- Returns:
- the
RequiredInfrastructureDelegationConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
RequiredInfrastructureDelegationConnector
-
newInfrastructureProvidedRole
public InfrastructureProvidedRoleCreator newInfrastructureProvidedRole() throws IllegalStateException
Start the creation of aInfrastructureProvidedRole.- Returns:
- the
InfrastructureProvidedRolein the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
InfrastructureProvidedRole
-
newProvidedInfrastructureDelegationConnector
public ProvidedInfrastructureDelegationConnectorCreator newProvidedInfrastructureDelegationConnector() throws IllegalStateException
Start the creation of aProvidedInfrastructureDelegationConnector.- Returns:
- the
ProvidedInfrastructureDelegationConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
ProvidedInfrastructureDelegationConnector
-
newQoSAnnotations
public QoSAnnotationsCreator newQoSAnnotations() throws IllegalStateException
Start the creation ofQoSAnnotations.- Returns:
- the
QoSAnnotationsin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
QoSAnnotations
-
newResourceRequiredRole
public ResourceRequiredRoleCreator newResourceRequiredRole() throws IllegalStateException
Start the creation of aResourceRequiredRole.- Returns:
- the
ResourceRequiredRolein the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
ResourceRequiredRole
-
newResourceRequiredDelegationConnector
public ResourceRequiredDelegationConnectorCreator newResourceRequiredDelegationConnector() throws IllegalStateException
Start the creation of aResourceRequiredDelegationConnector.- Returns:
- the
ResourceRequiredDelegationConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called before- See Also:
ResourceRequiredDelegationConnector
-
newRequiredResourceDelegationConnector
public RequiredResourceDelegationConnectorCreator newRequiredResourceDelegationConnector() throws IllegalSelectorException
Start the creation of aRequiredResourceDelegationConnector.- Returns:
- the
RequiredResourceDelegationConnectorin the making - Throws:
IllegalStateException- if newSystem has not been called beforeIllegalSelectorException- See Also:
RequiredResourceDelegationConnector
-
-