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 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 String create(Set<ScopedDeployedSoftware> services, ScopeState scopeState, String... suggestedGHNs)
          Creates the request plan for the Broker Service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlanRequest

public PlanRequest()
Method Detail

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 deploy
suggestedGHNs - the GHNs suggested for the deployment
scope - 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 © 2013. All Rights Reserved.