public ExecutionPlatform(String name) { super(name); this.owner = new OptionalOwner<Component>(); }
public Cloud(String name, Collection<VMInstance> vmInstances) { super(name); this.owner = new OptionalOwner<Deployment>(); }
public ComponentInstance(String name, T type) { super(name); this.owner = new OptionalOwner<Deployment>(); setType(type); this.providedPorts = instantiateAllProvidedPorts(type); this.providedExecutionPlatforms = instantiateAllExecutionPlatforms(type); }
public Relationship(String name, RequiredPort requiredPort, ProvidedPort providedPort) { super(name); this.owner = new OptionalOwner<Deployment>(); setRequiredEnd(requiredPort); setProvidedEnd(providedPort); }
public ExecutionPlatformInstance(String name, T type, ComponentInstance<? extends Component> owner) { super(name); this.type = onlyIfValid(type); this.owner = new OptionalOwner<ComponentInstance<? extends Component>>(); if (owner != null) { this.owner.set(owner); } }
public PortInstance(String name, T type) { super(name); this.owner = new OptionalOwner<ComponentInstance<? extends Component>>(); setType(type); }
public Component(String name, List<ProvidedPort> providedPorts, List<ProvidedExecutionPlatform> providedExecutionPlatforms) { super(name); this.owner = new OptionalOwner<Deployment>(); this.providedPorts = new LocalProvidedPortGroup(providedPorts); this.providedExecutionPlatforms = new LocalProvidedExecutionPlatformGroup(providedExecutionPlatforms); }
public Provider(String name, Credentials credentials) { super(name); this.owner = new OptionalOwner<Deployment>(); this.credentials = credentials; }
public Port(String name, boolean isLocal) { super(name); this.owner = new OptionalOwner<Component>(); this.local = isLocal; this.portNumber = DEFAULT_PORT_NUMBER; }
public ResourcePoolInstance(int nbOfReplicats, int maxReplicats, int minReplicats, List<VMInstance> baseInstances, String type){ this.maxReplicats = maxReplicats; this.minReplicats = minReplicats; this.nbOfReplicats =nbOfReplicats; this.baseInstances=baseInstances; this.type=type; this.owner = new OptionalOwner<Deployment>(); }
public RelationshipInstance(String name, RequiredPortInstance requiredEnd, ProvidedPortInstance providedEnd, Relationship type) { super(name); this.owner = new OptionalOwner<Deployment>(); setRequiredEnd(requiredEnd); setProvidedEnd(providedEnd); setType(type); }
public ExecuteInstance(String name, RequiredExecutionPlatformInstance requiredEnd, ProvidedExecutionPlatformInstance providedEnd) { super(name); this.owner = new OptionalOwner<Deployment>(); unlessExpectationsAreMet(providedEnd, requiredEnd); setProvidedEnd(providedEnd); setRequiredEnd(requiredEnd); }