org.gcube.vremanagement.resourcemanager.impl.brokerage.servicebroker.kxml
Class KPlanRequest

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

public class KPlanRequest
extends java.lang.Object

Creates a plan request with the KXML library to create the deployment plan request.

Author:
Manuele Simi (ISTI-CNR)

Constructor Summary
KPlanRequest()
           
 
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
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KPlanRequest

public KPlanRequest()
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

main

public static void main(java.lang.String[] args)