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

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

public final class KPlanParser
extends java.lang.Object

Parser for deployment plans. It uses the KXML library to parse the plan.

Author:
Manuele Simi (ISTI-CNR)

Constructor Summary
KPlanParser()
           
 
Method Summary
static void parse(java.lang.String plan, java.util.Set<ScopedDeployedService> services, GCUBEScope scope)
          Parses the current plan and assigns gHNs to services
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KPlanParser

public KPlanParser()
Method Detail

parse

public static void parse(java.lang.String plan,
                         java.util.Set<ScopedDeployedService> services,
                         GCUBEScope scope)
                  throws java.io.IOException
Parses the current plan and assigns gHNs to services

Parameters:
plan - the plan returned by the Broker
services - the services to deploy
scope - the current scope
Throws:
java.io.IOException