public class Blueprint extends Object implements oracle.fmwplatform.envspec.common.Versioned
| Constructor and Description |
|---|
Blueprint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllExternalServices(List<String> externalServices)
Adds a list of ResourceGroupTarget strings to the list of ResourceGroupTargets in this ResourceGroup
|
boolean |
addBlueprint(Blueprint blueprint)
Adds a Blueprint to the list of Blueprints in this Blueprint.
|
boolean |
addBlueprint(String blueprintName)
Adds a Blueprint to the list of Blueprints in this Blueprint identified by the blueprintName.
|
boolean |
addBlueprint(String blueprintName, String version, EnvironmentModelFileLocator locator)
Adds a Blueprint to the list of Blueprints in this Blueprint identified by the blueprintName.
|
boolean |
addExternalService(String externalService)
Adds a single external service to the list of external services for this Blueprint
|
List<Blueprint> |
getBlueprints()
Gets the list of Blueprints available in this Blueprint.
|
List<String> |
getExternalServices()
Returns the list of external services in this Blueprint.
|
String |
getFMWVersionRange()
Returns the range of FMW releases that this model object is supported under.
|
String |
getName()
Returns the name.
|
String |
getSchemaVersion()
Returns the version of the EnvSpec (XML) schema that applies to this model.
|
List<Template> |
getTemplates()
Returns the list of Templates in this Blueprint.
|
String |
getVersion()
Returns the consumer specified version of the this model file.
|
Blueprint |
setBlueprints(List<Blueprint> blueprints)
Sets the list of Blueprints in this Blueprint.
|
Blueprint |
setExternalServices(List<String> externalServices)
Sets the list of external services in this Blueprint.
|
Blueprint |
setFMWVersionRange(String fmwVersionRange)
Sets the the range of FMW releases that this model object is supported under.
|
Blueprint |
setName(String name)
Sets the name.
|
Blueprint |
setSchemaVersion(String schemaVersion)
Sets the version of the EnvSpec (XML) schema that applies to this model.
|
Blueprint |
setTemplates(List<Template> templates)
Sets the list of templates in this Blueprint.
|
Blueprint |
setVersion(String version)
Sets the consumer specified version of the their model file.
|
String |
toCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toString() |
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format..
|
public boolean addBlueprint(Blueprint blueprint) throws IllegalArgumentException
blueprint - The Blueprint to be addedIllegalArgumentExceptionpublic boolean addBlueprint(String blueprintName, String version, EnvironmentModelFileLocator locator) throws FMWEnvSpecException
blueprintName - the name of the Blueprint to be addedversion - the version of the Blueprint to be added or null if any version is acceptablelocator - an EnvironmentModelFileLocator locator that has been initialized with the paths that are to be searched when finding the Blueprint or null if only the OracleHome needs to be searchedFMWEnvSpecException - the Blueprint could not be loadedpublic boolean addBlueprint(String blueprintName) throws FMWEnvSpecException, IllegalArgumentException
blueprintName - the name of the blueprint to be addedFMWEnvSpecException - The Blueprint could not be loadedIllegalArgumentExceptionpublic List<Blueprint> getBlueprints()
public List<String> getExternalServices()
public String getName()
oracle.fmwplatform.envspec.common.VersionedgetName in interface oracle.fmwplatform.envspec.common.Versionedpublic String getSchemaVersion()
oracle.fmwplatform.envspec.common.VersionedgetSchemaVersion in interface oracle.fmwplatform.envspec.common.Versionedpublic List<Template> getTemplates()
public String getVersion()
oracle.fmwplatform.envspec.common.VersionedgetVersion in interface oracle.fmwplatform.envspec.common.Versionedpublic String getFMWVersionRange()
oracle.fmwplatform.envspec.common.VersionedgetFMWVersionRange in interface oracle.fmwplatform.envspec.common.Versionedpublic Blueprint setFMWVersionRange(String fmwVersionRange)
oracle.fmwplatform.envspec.common.VersionedsetFMWVersionRange in interface oracle.fmwplatform.envspec.common.VersionedfmwVersionRange - the range of FMW releases that this model object is supported underpublic Blueprint setBlueprints(List<Blueprint> blueprints)
blueprints - The Blueprint list to be used by this Blueprintpublic Blueprint setExternalServices(List<String> externalServices)
externalServices - the list of externalServices to be used by this Blueprintpublic boolean addAllExternalServices(List<String> externalServices) throws IllegalArgumentException
externalServices - list of String objects to addtrue if the list of ExternalServices changed in this Blueprint as a result of the callIllegalArgumentException - if input parameter is nullpublic boolean addExternalService(String externalService) throws IllegalArgumentException
externalService - string value for the external servicetrue if the list of ExternalServices changed in this Blueprint as a result of the callIllegalArgumentException - if input parameter is nullpublic Blueprint setName(String name)
oracle.fmwplatform.envspec.common.VersionedsetName in interface oracle.fmwplatform.envspec.common.Versionedname - the namepublic Blueprint setSchemaVersion(String schemaVersion)
oracle.fmwplatform.envspec.common.VersionedsetSchemaVersion in interface oracle.fmwplatform.envspec.common.VersionedschemaVersion - the version of the EnvSpec (XML) schema that applies to this modelpublic Blueprint setTemplates(List<Template> templates)
templates - the Templates to be used by this Blueprintpublic Blueprint setVersion(String version)
oracle.fmwplatform.envspec.common.VersionedsetVersion in interface oracle.fmwplatform.envspec.common.Versionedversion - the consumer specified version of the their model file.public String toXmlCompactString()
public String toXmlString()
public String toCompactString()