public class RemoteActionInvoker extends Object
| Constructor and Description |
|---|
RemoteActionInvoker() |
| Modifier and Type | Method and Description |
|---|---|
static List<oracle.fmwplatform.envspec.model.topology.Host> |
getHostsForTarget(oracle.fmwplatform.envspec.model.EnvironmentModel model, oracle.fmwplatform.envspec.model.targets.ModelTarget target)
Return a list of the hosts that need to be contacted for remote action invocation to support the passed targets
|
static List<oracle.fmwplatform.envspec.model.topology.Host> |
getHostsForTargets(oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets)
Return a list of the hosts that need to be contacted for remote action invocation to support the passed targets
|
static ActionResult |
runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, Object extra, String oracleHome)
Run remote actions based on the targets provided
|
static ActionResult |
runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, Object extra, String oracleHome, ActionType actionType)
Run remote actions based on the targets provided
|
static ActionResult |
runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, Object extra, String oracleHome, ActionType actionType, oracle.fmwplatform.envspec.model.topology.Host host)
Run a remote action based on the host provided
|
static ActionResult |
runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, Object extra, String oracleHome, oracle.fmwplatform.envspec.model.topology.Host host)
Run remote actions based on the host provided
|
static ActionResult |
runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, String oracleHome)
Run remote actions based on the targets provided
|
static ActionResult |
runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, String oracleHome, oracle.fmwplatform.envspec.model.topology.Host host)
Run remote actions based on the host provided
|
public static ActionResult runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, String oracleHome)
actionName - name of the action to be runmodel - the environment modeltargets - the list of target to be consideredoracleHome - the oracle home to be used for remote actionspublic static ActionResult runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, Object extra, String oracleHome)
actionName - name of the action to be runmodel - the environment modeltargets - the list of target to be consideredextra - any extra data to be passed to the actionoracleHome - the oracle home to be used for remote actionspublic static ActionResult runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, Object extra, String oracleHome, ActionType actionType)
actionName - name of the action to be runmodel - the environment modeltargets - the list of target to be consideredextra - any extra data to be passed to the actionoracleHome - the oracle home to be used for remote actionsactionType - the type of action to run or null for defaultpublic static ActionResult runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, String oracleHome, oracle.fmwplatform.envspec.model.topology.Host host)
actionName - name of the action to be runmodel - the environment modeltargets - the list of target to be consideredoracleHome - the oracle home to be used for remote actionshost - the host to run the action onpublic static ActionResult runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, Object extra, String oracleHome, oracle.fmwplatform.envspec.model.topology.Host host)
actionName - name of the action to be runmodel - the environment modeltargets - the list of target to be consideredextra - any extra data to be passed to the actionoracleHome - the oracle home to be used for remote actionshost - the host to run the action onpublic static ActionResult runRemoteAction(String actionName, oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets, Object extra, String oracleHome, ActionType actionType, oracle.fmwplatform.envspec.model.topology.Host host)
actionName - name of the action to be runmodel - the environment modeltargets - the list of target to be consideredextra - any extra data to be passed to the actionoracleHome - the oracle home to be used for remote actionsactionType - the type of action to run or null for defaulthost - the host to run the action onpublic static List<oracle.fmwplatform.envspec.model.topology.Host> getHostsForTarget(oracle.fmwplatform.envspec.model.EnvironmentModel model, oracle.fmwplatform.envspec.model.targets.ModelTarget target) throws oracle.fmwplatform.envspec.exception.FMWEnvSpecException
model - the environment modeltarget - target that should be consideredoracle.fmwplatform.envspec.exception.FMWEnvSpecException - is an error occurspublic static List<oracle.fmwplatform.envspec.model.topology.Host> getHostsForTargets(oracle.fmwplatform.envspec.model.EnvironmentModel model, List<oracle.fmwplatform.envspec.model.targets.ModelTarget> targets) throws oracle.fmwplatform.envspec.exception.FMWEnvSpecException
model - the environment modeltargets - list of targets that should be consideredoracle.fmwplatform.envspec.exception.FMWEnvSpecException - if an error occurs