Package | Description |
---|---|
oracle.fmwplatform.envspec.environment |
This package contains classes that are used to represent various types of actual (existing) environments.
|
oracle.fmwplatform.envspec.environment.topology |
This package contains classes that are used to describe components of a Topology.
|
oracle.fmwplatform.envspec.helper | |
oracle.fmwplatform.envspec.model |
This package contains classes that are used to represent models of real (existing) or imagined (to be created) environments.
|
oracle.fmwplatform.envspec.model.targets | |
oracle.fmwplatform.envspec.model.targets.types |
Modifier and Type | Method and Description |
---|---|
protected void |
OracleHomeEnvironment.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.
|
protected void |
DomainEnvironment.validateEnvironmentTarget(ModelTarget target,
EnvironmentModel model,
String envType)
Validate the EnvironmentTarget so it can be used for Domain discovery, it should of type Domain.
|
Constructor and Description |
---|
OfflineEnvironment(EnvironmentModel model,
ModelTarget target)
OfflineEnvironment constructor which will allow users to create an environment object representing the offline
query interface into the WebLogic domain
|
OnlineEnvironment(EnvironmentModel model,
ModelTarget target)
OnlineEnvironment constructor which will allow users to create an environment object representing the online query
interface into the WebLogic domain
|
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 |
---|---|
static Domain |
EnvironmentBootstrapMapping.mapDomain(EnvironmentModel model,
Domain domain)
Maps a Domain to a given EnvironmentModel
|
void |
EnvironmentDiscovery.offlineDomain(EnvironmentModel model,
ModelTarget target,
Boolean refreshOnly)
Discover offline Domain artifacts and add them to the topology
|
void |
EnvironmentDiscovery.onlineDomain(EnvironmentModel model,
ModelTarget target,
Boolean refreshOnly)
Discover online Domain artifacts and add them to the topology
|
void |
EnvironmentDiscovery.oracleHome(EnvironmentModel model,
ModelTarget target,
Boolean refreshOnly)
Discover OracleHome artifacts and add them to the topology object
|
static void |
DomainUpdate.updateOfflineDomain(EnvironmentModel model,
ModelTarget target)
Update offline Domain from the modeled Domain referenced by the ModelTarget
|
Modifier and Type | Method and Description |
---|---|
String |
EnvironmentModelHelper.getAdminServerId(EnvironmentModel model,
String domainId)
Return the admin server id for the supplied domain.
|
String |
EnvironmentModelHelper.getAdminServerUrl(EnvironmentModel model,
String domainId)
Get the admin server URL for the supplied domain.
|
List<String> |
EnvironmentModelHelper.getDomainIds(EnvironmentModel model)
Get a list of domains from the supplied model.
|
List<String> |
EnvironmentModelHelper.getDomainIds(EnvironmentModel model,
String oracleHomeId)
Get a list of domain ids associated with an oracle home.
|
String |
EnvironmentModelHelper.getDomainPath(EnvironmentModel model,
String domainId)
Get the path for the specified domain.
|
String |
EnvironmentModelHelper.getHostAddress(EnvironmentModel model,
String hostId)
Get the address for the supplied host.
|
String |
EnvironmentModelHelper.getHostId(EnvironmentModel model,
List<String> hostAddresses)
Get the host id of a Host that has an address that matches on of the values in the supplied list.
|
List<String> |
EnvironmentModelHelper.getHostIds(EnvironmentModel model)
Get the list of hosts in the model
|
List<String> |
EnvironmentModelHelper.getHostIds(EnvironmentModel model,
String domainId)
Get the list of hosts for the supplied domain
|
String |
EnvironmentModelHelper.getNodeManagerId(EnvironmentModel model,
List<String> hostAddresses,
String domainPath,
String oracleHomePath)
Get a node manager id based on the host address, domain path, and oracle home path.
|
List<String> |
EnvironmentModelHelper.getNodeManagerIds(EnvironmentModel model,
String domainId)
Get a list of Node Manager ids for a domain.
|
String |
EnvironmentModelHelper.getOracleHomeId(EnvironmentModel model,
String domainId)
Get the oracle home id for the Admin Server of the supplied domain.
|
List<String> |
EnvironmentModelHelper.getOracleHomeIdsForHost(EnvironmentModel model,
String hostId)
Get the oracle home id list for the supplied host.
|
String |
EnvironmentModelHelper.getOracleHomePath(EnvironmentModel model,
String oracleHomeId)
Get the path for the oracle home id supplied.
|
List<String> |
EnvironmentModelHelper.getServerIds(EnvironmentModel model,
List<String> hostAddresses,
String domainPath,
String oracleHomePath)
Get a list of server ids based on the host address, domain path, and oracle home path.
|
List<String> |
EnvironmentModelHelper.getServerIds(EnvironmentModel model,
String domainId)
Get the list of servers associated with a domain.
|
String |
EnvironmentModelHelper.getServerListenAddress(EnvironmentModel model,
String serverId)
Get the listen address from the specified server.
|
String |
EnvironmentModelHelper.getServerListenPort(EnvironmentModel model,
String serverId)
Get the listen port from the specified server.
|
String |
EnvironmentModelHelper.getTopologyCompactString(EnvironmentModel model)
Get the string contents of the Topology in the EnvironmentModel
|
String |
EnvironmentModelHelper.getTopologyJSONCompactString(EnvironmentModel model)
Get the string contents of the Topology in the EnvironmentModel
|
boolean |
EnvironmentModelHelper.isAdminServer(EnvironmentModel model,
String serverId)
Determine if the server id supplied is an admin server.
|
Modifier and Type | Method and Description |
---|---|
EnvironmentModel |
EnvironmentModelBuilder.addOfflineDomainBootstrapParams(String domainId,
String domainPath,
EnvironmentModel model)
Deprecated.
- Use
EnvironmentModelBuilder.addOfflineDomainBootstrapParams(String, String, String, EnvironmentModel) .Domain name
is a mandatory attribute.This method defaults domainName to be same as domainId and invokes
EnvironmentModelBuilder.addOfflineDomainBootstrapParams(String, String, String, EnvironmentModel) |
EnvironmentModel |
EnvironmentModelBuilder.addOfflineDomainBootstrapParams(String domainId,
String domainName,
String domainPath,
EnvironmentModel model)
Adds Offline domain bootstrap parameters to the EnvironmentModel.
|
EnvironmentModel |
EnvironmentModelBuilder.addOnlineDomainBootstrapParams(String domainId,
String adminUrl,
oracle.fmwplatform.credentials.credential.Credential adminCreds,
EnvironmentModel model)
Deprecated.
- Use
EnvironmentModelBuilder.addOnlineDomainBootstrapParams(String, String, String, Credential, EnvironmentModel) .
Domain name is a mandatory attribute.This method defaults domainName to be same as domainId and invokes
EnvironmentModelBuilder.addOnlineDomainBootstrapParams(String, String, String, Credential, EnvironmentModel) |
EnvironmentModel |
EnvironmentModelBuilder.addOnlineDomainBootstrapParams(String domainId,
String domainName,
String adminUrl,
oracle.fmwplatform.credentials.credential.Credential adminCreds,
EnvironmentModel model)
Adds Online domain bootstrap parameters and a Credential object to an
EnvironmentModel.
|
EnvironmentModel |
EnvironmentModelBuilder.addOracleHomeBootstrapParams(String id,
String oracleHomePath,
Type oracleHomeType,
String javaHomePath,
EnvironmentModel model)
Adds Oracle home bootstrap parameters to the EnvironmentModel.
|
EnvironmentModel |
EnvironmentModelBuilder.buildFromFiles(String topologyFileName,
String version,
File walletFile,
char[] walletPassword)
Builds an EnvironmentModel based on the name of a Topology file.
|
EnvironmentModel |
EnvironmentModelBuilder.buildFromOfflineDomainBootstrapParams(String domainId,
String oracleHomePath,
String domainPath)
Deprecated.
- Use
EnvironmentModelBuilder.buildFromOfflineDomainBootstrapParams(String, String, String, String) .Domain name
is a mandatory attribute.This method defaults domainName to be same as domainId and invokes
EnvironmentModelBuilder.buildFromOfflineDomainBootstrapParams(String, String, String, String) |
EnvironmentModel |
EnvironmentModelBuilder.buildFromOfflineDomainBootstrapParams(String domainId,
String domainName,
String oracleHomePath,
String domainPath)
Returns a new EnvironmentModel which only contains an Oracle home, domain
with its bootstrap parameters This can be used as input for
OfflineEnvironment.
|
EnvironmentModel |
EnvironmentModelBuilder.buildFromOnlineDomainBootstrapParams(String domainId,
String oracleHomePath,
String adminUrl,
oracle.fmwplatform.credentials.credential.Credential adminCreds)
Deprecated.
- Use
EnvironmentModelBuilder.buildFromOnlineDomainBootstrapParams(String, String, String, Credential) .Domain name
is a mandatory attribute.This method defaults domainName to be same as domainId and invokes
EnvironmentModelBuilder.buildFromOnlineDomainBootstrapParams(String, String, String, String, Credential) . |
EnvironmentModel |
EnvironmentModelBuilder.buildFromOnlineDomainBootstrapParams(String domainId,
String domainName,
String oracleHomePath,
String adminUrl,
oracle.fmwplatform.credentials.credential.Credential adminCreds)
Returns a new EnvironmentModel which only contains an minimal Oracle home
and a domain with its bootstrap parameters and a Credential object.
|
EnvironmentModel |
EnvironmentModelBuilder.buildFromOracleHomeBootstrapParams(String id,
String oracleHomePath,
Type oracleHomeType,
String javaHomePath)
Returns a new EnvironmentModel which only contains an Oracle home with its bootstrap parameters.
|
EnvironmentModel |
EnvironmentModelBuilder.buildFromStandAloneModel(File modelsDir,
File walletFile,
char[] walletPassword)
Given a directory with a simple stand-alone model, build an EnvironmentModel by loading the Topology from the topologies folder in modelsDir.
|
EnvironmentModel |
EnvironmentModelBuilder.buildFromTopologyFile(File topologyFile,
File walletFile,
char[] walletPassword)
Builds an EnvironmentModel by loading the Topology specified in topologyFile.
|
static EnvironmentModel |
EnvironmentModel.createEnvironmentModel(Topology topology,
oracle.fmwplatform.credentials.credential.Credentials credentials)
Returns a new environment model created with the specified topology and credentials.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
DiscoveryOptions options,
List<ModelTarget> targets)
Populates and refreshes the environment model by doing OracleHome, Online and Offline domain environment discovery.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
EnvironmentModelTarget target)
Deprecated.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
EnvironmentModelTarget target,
Class<?> envType)
Deprecated.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
List<ModelTarget> targets)
Populates and refreshes the environment model by doing OracleHome, Online and Offline domain environment discovery.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
List<ModelTarget> targets,
Class<?> envType)
Deprecated.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
ModelTarget target)
Deprecated.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
ModelTarget target,
Class<?> envType)
Deprecated.
|
EnvironmentModel |
EnvironmentModelBuilder.refreshFromEnvironment(EnvironmentModel model,
ModelTarget target)
Refreshes the environment model by doing OracleHome, Online and Offline domain environment discovery.
|
EnvironmentModel |
EnvironmentModelBuilder.refreshFromEnvironment(EnvironmentModel model,
ModelTarget target,
Class<?> envType)
Only refresh the environment model by doing an OracleHome, Online and Offline domain environment discovery.
|
Modifier and Type | Method and Description |
---|---|
EnvironmentModel |
EnvironmentModelBuilder.addOfflineDomainBootstrapParams(String domainId,
String domainPath,
EnvironmentModel model)
Deprecated.
- Use
EnvironmentModelBuilder.addOfflineDomainBootstrapParams(String, String, String, EnvironmentModel) .Domain name
is a mandatory attribute.This method defaults domainName to be same as domainId and invokes
EnvironmentModelBuilder.addOfflineDomainBootstrapParams(String, String, String, EnvironmentModel) |
EnvironmentModel |
EnvironmentModelBuilder.addOfflineDomainBootstrapParams(String domainId,
String domainName,
String domainPath,
EnvironmentModel model)
Adds Offline domain bootstrap parameters to the EnvironmentModel.
|
EnvironmentModel |
EnvironmentModelBuilder.addOnlineDomainBootstrapParams(String domainId,
String adminUrl,
oracle.fmwplatform.credentials.credential.Credential adminCreds,
EnvironmentModel model)
Deprecated.
- Use
EnvironmentModelBuilder.addOnlineDomainBootstrapParams(String, String, String, Credential, EnvironmentModel) .
Domain name is a mandatory attribute.This method defaults domainName to be same as domainId and invokes
EnvironmentModelBuilder.addOnlineDomainBootstrapParams(String, String, String, Credential, EnvironmentModel) |
EnvironmentModel |
EnvironmentModelBuilder.addOnlineDomainBootstrapParams(String domainId,
String domainName,
String adminUrl,
oracle.fmwplatform.credentials.credential.Credential adminCreds,
EnvironmentModel model)
Adds Online domain bootstrap parameters and a Credential object to an
EnvironmentModel.
|
EnvironmentModel |
EnvironmentModelBuilder.addOracleHomeBootstrapParams(String id,
String oracleHomePath,
Type oracleHomeType,
String javaHomePath,
EnvironmentModel model)
Adds Oracle home bootstrap parameters to the EnvironmentModel.
|
EnvironmentModelTarget.EnvironmentModelTargetType |
EnvironmentModelTarget.getTargetType(EnvironmentModel environmentModel)
Deprecated.
Determines the target type of the object referenced by the targetId from the environmentModel that has been
specified.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
DiscoveryOptions options,
List<ModelTarget> targets)
Populates and refreshes the environment model by doing OracleHome, Online and Offline domain environment discovery.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
EnvironmentModelTarget target)
Deprecated.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
EnvironmentModelTarget target,
Class<?> envType)
Deprecated.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
List<ModelTarget> targets)
Populates and refreshes the environment model by doing OracleHome, Online and Offline domain environment discovery.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
List<ModelTarget> targets,
Class<?> envType)
Deprecated.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
ModelTarget target)
Deprecated.
|
EnvironmentModel |
EnvironmentModelBuilder.populateFromEnvironment(EnvironmentModel model,
ModelTarget target,
Class<?> envType)
Deprecated.
|
EnvironmentModel |
EnvironmentModelBuilder.refreshFromEnvironment(EnvironmentModel model,
ModelTarget target)
Refreshes the environment model by doing OracleHome, Online and Offline domain environment discovery.
|
EnvironmentModel |
EnvironmentModelBuilder.refreshFromEnvironment(EnvironmentModel model,
ModelTarget target,
Class<?> envType)
Only refresh the environment model by doing an OracleHome, Online and Offline domain environment discovery.
|
List<oracle.fmwplatform.util.validation.ValidationMessage> |
EnvironmentModelValidator.validate(EnvironmentModel model)
Validates the EnvironmentModel object provided and returns the resulting validation messages, which include any
errors and/or warnings found in the validation process.
|
List<oracle.fmwplatform.util.validation.ValidationMessage> |
EnvironmentModelValidator.validate(EnvironmentModel environmentModel,
List<ModelTarget> targets)
Validates each of the specified targets within the EnvironmentModel provided.
|
List<oracle.fmwplatform.util.validation.ValidationMessage> |
EnvironmentModelValidator.validate(EnvironmentModel environmentModel,
List<ModelTarget> targets,
String oracleHomePath)
Validates each of the specified targets within the EnvironmentModel provided.
|
List<oracle.fmwplatform.util.validation.ValidationMessage> |
EnvironmentModelValidator.validate(EnvironmentModel environmentModel,
ModelTarget target,
String oracleHomePath)
Validates each of the specified targets within the EnvironmentModel provided.
|
List<oracle.fmwplatform.util.validation.ValidationMessage> |
EnvironmentModelValidator.validate(EnvironmentModel model,
String oracleHomePath)
Validates the EnvironmentModel object provided, similar to
EnvironmentModelValidator.validate(EnvironmentModel) . |
void |
EnvironmentModelBuilder.writeModelToFiles(EnvironmentModel model,
File outputDirectory)
Writes the environment model objects out as files including the Oracle Wallet if it is present.
|
void |
EnvironmentModelBuilder.writeModelToFiles(EnvironmentModel model,
File outputDirectory,
char[] walletPassword)
Writes the environment model objects out as files including the Oracle Wallet if it is present.
|
Modifier and Type | Method and Description |
---|---|
static ModelTarget |
ModelTargetFactory.convertOldFormatTarget(EnvironmentModel model,
EnvironmentModelTarget target)
Deprecated.
|
static List<ModelTarget> |
ModelTargetFactory.convertOldFormatTarget(EnvironmentModel model,
List<EnvironmentModelTarget> targets)
Deprecated.
|
static List<ModelTarget> |
ModelTargetUtil.explodeTargets(EnvironmentModel model,
List<ModelTarget> targets)
Create an exploded list of target objects that do not contain any wildcards.
|
static List<ModelTarget> |
ModelTargetUtil.explodeTargets(EnvironmentModel model,
ModelTarget target)
Create an exploded list of target objects that do not contain any wildcards.
|
abstract <T> T |
ModelTargetImpl.getContainerFromModel(EnvironmentModel model) |
<T> T |
ModelTarget.getContainerFromModel(EnvironmentModel model)
Return the model object of the target container.
|
protected Domain |
ModelTargetImpl.getDomainById(String name,
EnvironmentModel model) |
protected Domain |
ModelTargetImpl.getDomainByName(String name,
EnvironmentModel model) |
protected NodeManager |
ModelTargetImpl.getNodeManagerByName(String name,
EnvironmentModel model) |
<T> T |
ModelTargetImpl.getSingleTargetFromModel(EnvironmentModel model) |
<T> T |
ModelTarget.getSingleTargetFromModel(EnvironmentModel model)
Return a single model object which should be targeted.
|
abstract <T> List<T> |
ModelTargetImpl.getTargetsFromModel(EnvironmentModel model) |
<T> List<T> |
ModelTarget.getTargetsFromModel(EnvironmentModel model)
Return a list of model objects which should be targeted.
|