|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WLDFScriptActionBean
Configures an action that can execute an external command-line process. This action type can be used to execute custom scripts when a policy rule is triggered.
Note that any child process forked by an action of this type will have all the rights and privileges of the WebLogic Server process that spawns it. Care must be taken that the target script is available and can be read/executed by the system-level identity that owns the WebLogic Server process.
Method Summary | |
---|---|
abstract Properties |
getEnvironment() A map of environment variables to set for the child process. |
abstract String[] |
getParameters() An array of ordered command-line arguments to the target script. |
abstract String |
getPathToScript() The full path to the script to execute. |
abstract String |
getWorkingDirectory() The working directory for the child process. |
abstract void |
setEnvironment(Properties environment) Set environment for the script |
abstract void |
setParameters(String[] parameters) Set parameters to be passed to the script |
abstract void |
setPathToScript(String pathToScript) Set path to script |
abstract void |
setWorkingDirectory(String workingDirectory) Set working directory |
Methods inherited from interface weblogic.diagnostics.descriptor.WLDFNotificationBean |
---|
getTimeout, isEnabled, setEnabled, setTimeout |
Methods inherited from interface weblogic.diagnostics.descriptor.WLDFBean |
---|
getId, getName |
Method Detail |
---|
String getWorkingDirectory()
void setWorkingDirectory(String workingDirectory)
String getPathToScript()
void setPathToScript(String pathToScript)
pathToScript
- Path to scriptProperties getEnvironment()
void setEnvironment(Properties environment)
environment
- Environment for the scriptString[] getParameters()
void setParameters(String[] parameters)
parameters
- Parameters to be passed to the script
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |