org.gcube.vremanagement.resourcemanager.impl.brokerage.servicebroker
Class PlanRequest
java.lang.Object
org.gcube.vremanagement.resourcemanager.impl.brokerage.servicebroker.PlanRequest
public class PlanRequest
- extends Object
Creates a plan request with the Serialization API provided by the Broker Service
- Author:
- Manuele Simi (ISTI-CNR)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanRequest
public PlanRequest()
create
public static String create(Set<ScopedDeployedSoftware> services,
ScopeState scopeState,
String... suggestedGHNs)
throws IOException,
VirtualNode.NoGHNFoundException
- Creates the request plan for the Broker Service
- Parameters:
services - the services to deploysuggestedGHNs - the GHNs suggested for the deploymentscope - the scope of the request
- Returns:
- the XML representation of the request
- Throws:
VirtualNode.NoGHNFoundException - if any of the target suggested node does not exist
IOException
Copyright © 2012. All Rights Reserved.