public class Planner extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Planner.DiscovererFetchallResult |
static class |
Planner.Offering |
| Constructor and Description |
|---|
Planner() |
Planner(String discovererURL) |
Planner(String discovererURL,
List<String> deployableProviders) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
fetchAndPlan(String aam)
Fetches offerings from the Discoverer and makes plans
|
String[] |
fetchAndRePlan(String aam,
List<String> modulesToFilter)
Fetches offerings from the Discoverer and replan
|
String[] |
plan(String aam,
String uniqueOfferingsTosca)
Makes plans starting from the AAM and a String containing the TOSCA of the
offerings available to generate the plans
|
String[] |
rePlan(String aam,
String uniqueOfferingsTosca,
List<String> modulesToFilter) |
public Planner()
public Planner(String discovererURL)
public String[] fetchAndPlan(String aam) throws alien4cloud.tosca.parser.ParsingException, IOException
aam - the String representing the AAMalien4cloud.tosca.parser.ParsingExceptionIOExceptionpublic String[] plan(String aam, String uniqueOfferingsTosca) throws alien4cloud.tosca.parser.ParsingException, IOException
aam - the String representing the AAMuniqueOfferingsTosca - the String containing the Tosca representation of the available offeringsalien4cloud.tosca.parser.ParsingExceptionIOExceptionpublic String[] fetchAndRePlan(String aam, List<String> modulesToFilter) throws alien4cloud.tosca.parser.ParsingException, IOException
aam - the String representing the AAMmodulesToFilter - alien4cloud.tosca.parser.ParsingExceptionIOExceptionpublic String[] rePlan(String aam, String uniqueOfferingsTosca, List<String> modulesToFilter) throws alien4cloud.tosca.parser.ParsingException, IOException
alien4cloud.tosca.parser.ParsingExceptionIOExceptionCopyright © 2016. All rights reserved.