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

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

public final class PlanParser
extends java.lang.Object

Parser for deployment plans. It uses the Serialization API provided by the Broker Service

Author:
Manuele Simi (ISTI-CNR)

Constructor Summary
PlanParser()
           
 
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

PlanParser

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