org.gcube.vremanagement.resourcemanager.impl.brokerage.servicebroker
Class PlanRequest

java.lang.Object
  extended by org.gcube.vremanagement.resourcemanager.impl.brokerage.servicebroker.PlanRequest

public class PlanRequest
extends java.lang.Object

Creates a plan request with the Serialization API provided by the Broker Service

Author:
Manuele Simi (ISTI-CNR)

Constructor Summary
PlanRequest()
           
 
Method Summary
static java.lang.String create(java.util.Set<ScopedDeployedService> services, java.lang.String[] suggestedGHNs, GCUBEScope scope)
          Creates the request plan for the Broker Service
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlanRequest

public PlanRequest()
Method Detail

create

public static java.lang.String create(java.util.Set<ScopedDeployedService> services,
                                      java.lang.String[] suggestedGHNs,
                                      GCUBEScope scope)
                               throws java.io.IOException
Creates the request plan for the Broker Service

Parameters:
services - the services to deploy
suggestedGHNs - the GHNs suggested for the deployment
scope - the scope of the request
Returns:
the XML representation of the request
Throws:
java.io.IOException