public class OracleHomeEnvironment extends Environment
topology| Constructor and Description |
|---|
OracleHomeEnvironment(EnvironmentModel model, ModelTarget target)
OracleHomeEnvironment constructor which will allow users to create an environment object representing the query interface into the oracleHome
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getDistributionNames()
This API will return the list of distributions installed in an Oracle Home.
|
String |
getDistributionVersion(String distroName)
This API will return the version of the distribution that is installed in an Oracle Home.
|
List<String> |
getPatches()
This API will return the list of patches installed in an Oracle Home.
|
protected void |
retrieveTopologyObjects(Topology topology)
Retrieve the right Oracle Home from the topology object.
|
protected void |
validateEnvironmentTarget(ModelTarget target, EnvironmentModel model)
Validate the EnvironmentModelTarget so it can be used for the OracleHome discovery, it should be of type OracleHome or Domain.
|
public OracleHomeEnvironment(EnvironmentModel model, ModelTarget target) throws FMWEnvSpecException
model - EnvironmentModel which contains a topology with at least the OracleHome bootstrap parameterstarget - EnvironmentModelTarget with OracleHome as target type which can be used to focus on a particular area of an OracleHomeFMWEnvSpecException - when OracleHome cannot be found or does not have the required bootstrap parameterspublic List<String> getDistributionNames()
public String getDistributionVersion(String distroName)
distroName - distribution namepublic List<String> getPatches()
protected void retrieveTopologyObjects(Topology topology) throws FMWEnvSpecException
topology - The topology object which contains the OracleHome object with its bootstrap informationFMWEnvSpecException - when the OracleHome reference cannot be found in the topology.protected void validateEnvironmentTarget(ModelTarget target, EnvironmentModel model) throws FMWEnvSpecException
target - EnvironmentModelTarget with OracleHome as target type which can be used to focus on a particular OracleHome object in the topology.model - an EnvironmentModel object (currently unused)FMWEnvSpecException - when the OracleHome reference id is empty