public class InstallationData extends Object implements oracle.fmwplatform.envspec.common.ContainerAware<OracleHome>, oracle.fmwplatform.envspec.common.ParentContainerWithVariables
| Constructor and Description |
|---|
InstallationData() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllPatches(List<String> patches)
Adds a single patch to the list of patches
|
boolean |
addInstallation(Installation installation)
Adds the installation to the end of the list and sets the order id.
|
boolean |
addPatch(String patch)
Adds a single patch to the list of patches
|
Map<String,String> |
getEffectiveVariables()
Returns the derived map of variables for this element.
|
List<Installation> |
getInstallations()
Returns a list of the installations for this InstallationData.
|
OracleHome |
getParent()
Returns the object that contains this entity.
|
List<String> |
getPatches()
Returns the list of patch identifiers, for example p1234567.
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
boolean |
removeInstallation(Installation installation)
Remove the installation from the installation list and reassign order ids to the remaining installations.
|
boolean |
removeInstallation(String installationId)
Remove the installation from the installation list and reassign order ids to the remaining installations.
|
InstallationData |
setInstallations(List<Installation> installations)
Set the installation list for the InstallationData.
|
InstallationData |
setParent(OracleHome containerOracleHome)
Sets the parent of this object.
|
InstallationData |
setPatches(List<String> patches)
Sets the list of patch identifiers e.g.
|
String |
substitute(String text)
Replaces substitution keys in the specified text with their corresponding values.
|
String |
toCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in JSON format.
|
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 OracleHome getParent()
oracle.fmwplatform.envspec.common.ContainerAwaregetParent in interface oracle.fmwplatform.envspec.common.ContainerAware<OracleHome>public InstallationData setParent(OracleHome containerOracleHome)
oracle.fmwplatform.envspec.common.ContainerAwaresetParent in interface oracle.fmwplatform.envspec.common.ContainerAware<OracleHome>containerOracleHome - the parent containerpublic List<String> getPatches()
public InstallationData setPatches(List<String> patches)
patches - the list of patch identifiers e.g. ‘p1234567’public boolean addPatch(String patch)
patch - identifier for a patchtrue if the list of patches has changed as a result of this callIllegalArgumentException - if the input value is nullpublic boolean addAllPatches(List<String> patches)
patches - identifier for a patchtrue if the list of patches has changed as a result of this callIllegalArgumentException - if the input value is nullpublic List<Installation> getInstallations()
public InstallationData setInstallations(List<Installation> installations)
installations - an ordered list or list not currently assigned orderpublic boolean addInstallation(Installation installation)
installation - the installation to be added to the end of the installations listtrue if the list has changed as a result of this callpublic boolean removeInstallation(Installation installation) throws IllegalArgumentException
installation - the installation to remove from the installation list.IllegalArgumentExceptionpublic boolean removeInstallation(String installationId)
installationId - the installation id to remove from the list.public Map<String,String> getEffectiveVariables() throws FMWEnvSpecException
getEffectiveVariables in interface oracle.fmwplatform.envspec.common.ParentContainerWithVariablesFMWEnvSpecException - in the event of a critical errorpublic String getVariableValue(String key)
getVariableValue in interface oracle.fmwplatform.envspec.common.Substitutablekey - the key of the variable to be checkedpublic String substitute(String text)
substitute in interface oracle.fmwplatform.envspec.common.Substitutabletext - the original textpublic String toXmlCompactString()
public String toXmlString()
public String toCompactString()