Class FluentAllocationFactory
java.lang.Object
org.palladiosimulator.generator.fluent.allocation.factory.FluentAllocationFactory
This class provides all the methods to create an
Allocation
and create entities that are
added to this Allocation. Characteristics of the entities are specified by method chaining.
Start creating an org.palladiosimulator.generator.fluent.allocation like this: //define System and ResourceEnvironment and add AllocationContexts .createAllocationNow();
FluentAllocationFactory create = new FluentAllocationFactory();
Allocation org.palladiosimulator.generator.fluent.allocation = create.newAllocation()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionStart the creation of anAllocation
.Start the creation of anAllocationContext
.
-
Constructor Details
-
FluentAllocationFactory
public FluentAllocationFactory()
-
-
Method Details
-
newAllocation
Start the creation of anAllocation
.- Returns:
- the
Allocation
in the making - See Also:
-
Allocation
-
newAllocationContext
Start the creation of anAllocationContext
.- Returns:
- the
AllocationContext
in the making - Throws:
IllegalStateException
- if newAllocationContext() has not been called before- See Also:
-
AllocationContext
-