|
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 ScriptMBean
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
abstract String[] |
getArguments() The arguments to the command script as well as for the error-handler script |
abstract Properties |
getEnvironment() Returns the properties used to create environment for the script sub-process. |
abstract int |
getNumberOfRetriesAllowed() |
abstract String |
getPathToErrorHandlerScript() Returns the path to the error handler script to be executed. |
abstract String |
getPathToScript() Returns the path to the script to be executed. |
abstract long |
getRetryDelayInMillis() |
abstract int |
getTimeoutInSeconds() Returns the timeout interval for script execution in seconds. |
abstract String |
getWorkingDirectory() |
abstract boolean |
isIgnoreFailures() |
abstract void |
setArguments(String[] arguments) Sets the arguments to the command script as well as for the error-handler script |
abstract void |
setEnvironment(Properties environment) Set properties to be used to create environment for the script sub-process. |
abstract void |
setIgnoreFailures(boolean ignore) Set ignoreFailures flag |
abstract void |
setNumberOfRetriesAllowed(int retries) Set number of allowed retries |
abstract void |
setPathToErrorHandlerScript(String pathToErrorHandlerScript) |
abstract void |
setPathToScript(String pathToScript) |
abstract void |
setRetryDelayInMillis(long retryDelay) Set retry delay |
abstract void |
setTimeoutInSeconds(int timeout) Sets the timeout interval in seconds for script execution. |
abstract void |
setWorkingDirectory(String workingDirectory) Set working directory for running the script |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Method Detail |
---|
String getWorkingDirectory()
void setWorkingDirectory(String workingDirectory)
workingDirectory
- Working directory to be used while running the scriptString getPathToScript()
DomainDir/bin/scripts
directory. When specified as an absolute path, the script must be under DomainDir/bin/scripts
directory.void setPathToScript(String pathToScript)
the
- path to the Script commandString[] getArguments()
void setArguments(String[] arguments)
arguments
- the arguments to the command script as well as for the error-handler scriptProperties getEnvironment()
void setEnvironment(Properties environment)
environment
-boolean isIgnoreFailures()
void setIgnoreFailures(boolean ignore)
ignore
- if true, ignore failures while execution of script specified by getPathToScript()int getNumberOfRetriesAllowed()
void setNumberOfRetriesAllowed(int retries)
retries
- Number of retrieslong getRetryDelayInMillis()
void setRetryDelayInMillis(long retryDelay)
retryDelay
- Number of milli seconds to wait before re-trying failed scriptString getPathToErrorHandlerScript()
DomainDir/bin/scripts
directory. When specified as an absolute path, the script must be under DomainDir/bin/scripts
directory.void setPathToErrorHandlerScript(String pathToErrorHandlerScript)
pathToErrorHandlerScript
- the path to the error handler Script.int getTimeoutInSeconds()
void setTimeoutInSeconds(int timeout)
timeout
-
|
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 |