public class OracleHome extends Object implements oracle.fmwplatform.envspec.common.EntityWithId, oracle.fmwplatform.envspec.common.ContainerAware<Topology>, oracle.fmwplatform.envspec.common.ParentContainerWithVariables
Modifier and Type | Field and Description |
---|---|
protected String |
id
A logical name that is used to refer to this OracleHome.
|
protected InstallationData |
installationData
Data needed to create this Oracle Home using the Cloud Installer.
|
protected String |
inventoryLocation
Identifies the inventory location of the OracleHome
|
protected String |
javaHome
Identifies the filesystem path to the Java Home (JDK install directory).
|
protected String |
path
Identifies the (filesystem) path to the OracleHome.
|
protected Type |
type
Identifies whether this is a shared or local OracleHome.
|
Constructor and Description |
---|
OracleHome() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getEffectiveVariables()
Provides the effective list of variables that apply to the tuning parameters.
|
String |
getId()
Returns the id used to reference this model object.
|
InstallationData |
getInstallationData()
Returns the InstallationData for this OracleHome.
|
String |
getInventoryLocation()
Returns the filesystem inventory location for this OracleHome
|
String |
getJavaHome()
Returns filesystem path to the Java Home (JDK install directory)
|
Topology |
getParent()
Returns the object that contains this entity
|
String |
getPath()
Returns the (filesystem) path to the OracleHome.
|
Type |
getType()
Returns the type of this OracleHome (shared or local).
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
OracleHome |
setId(String id)
Sets the id used to reference this model object.
|
OracleHome |
setInstallationData(InstallationData installationData)
Set the installation data information about the installations in the OracleHome.
|
OracleHome |
setInventoryLocation(String inventoryLocation)
Sets the inventory location for the OracleHome.
|
OracleHome |
setJavaHome(String javaHome)
Sets the filesystem path to the Java Home (JDK install directory).
|
OracleHome |
setParent(Topology containerTopology)
Sets the container object that contains this.
|
OracleHome |
setPath(String path)
Set the path to the OracleHome.
|
OracleHome |
setType(Type type)
Sets the type of this OracleHome (shared or local).
|
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 XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML 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.
|
protected String id
protected String path
protected String inventoryLocation
protected Type type
protected String javaHome
protected InstallationData installationData
public String getId()
oracle.fmwplatform.envspec.common.EntityWithId
getId
in interface oracle.fmwplatform.envspec.common.EntityWithId
public Topology getParent()
oracle.fmwplatform.envspec.common.ContainerAware
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Topology>
public OracleHome setParent(Topology containerTopology)
oracle.fmwplatform.envspec.common.ContainerAware
setParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Topology>
containerTopology
- the parent containerpublic InstallationData getInstallationData()
public String getInventoryLocation()
public String getJavaHome()
public String getPath()
public Type getType()
public OracleHome setId(String id)
oracle.fmwplatform.envspec.common.EntityWithId
setId
in interface oracle.fmwplatform.envspec.common.EntityWithId
id
- the id to be used when referencing this model objectpublic OracleHome setInstallationData(InstallationData installationData)
installationData
- the installation data information about the installations in the OracleHomepublic OracleHome setInventoryLocation(String inventoryLocation)
inventoryLocation
- the (filesystem) location of the OracleHome inventorypublic OracleHome setJavaHome(String javaHome)
javaHome
- the filesystem path to the Java Home (JDK install directory)public OracleHome setPath(String path)
path
- the (filesystem) path to the Oracle Homepublic OracleHome setType(Type type)
type
- the type of the OracleHome (shared or local)public Map<String,String> getEffectiveVariables() throws FMWEnvSpecException
oracle.fmwplatform.envspec.common.ParentContainerWithVariables
getEffectiveVariables
in interface oracle.fmwplatform.envspec.common.ParentContainerWithVariables
FMWEnvSpecException
- When any tuning parameters references cannot be readpublic String getVariableValue(String key)
getVariableValue
in interface oracle.fmwplatform.envspec.common.Substitutable
key
- the key of the variable to be checkedpublic String substitute(String text)
substitute
in interface oracle.fmwplatform.envspec.common.Substitutable
text
- the original textpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()