Class FluentAllocationFactory

java.lang.Object
org.palladiosimulator.generator.fluent.allocation.factory.FluentAllocationFactory

public class FluentAllocationFactory extends Object
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:
FluentAllocationFactory create = new FluentAllocationFactory();
Allocation org.palladiosimulator.generator.fluent.allocation = create.newAllocation()

//define System and ResourceEnvironment and add AllocationContexts

.createAllocationNow();

  • Constructor Details

    • FluentAllocationFactory

      public FluentAllocationFactory()
  • Method Details

    • newAllocation

      public IAllocation newAllocation()
      Start the creation of an Allocation.
      Returns:
      the Allocation in the making
      See Also:
      • Allocation
    • newAllocationContext

      public AllocationContextCreator newAllocationContext() throws IllegalStateException
      Start the creation of an AllocationContext.
      Returns:
      the AllocationContext in the making
      Throws:
      IllegalStateException - if newAllocationContext() has not been called before
      See Also:
      • AllocationContext