|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.as.scheduler.cp.SubmissionUtil
public class SubmissionUtil
Submission Utility. This class provides helper methods to use before request submission.
Field Summary | |
---|---|
static java.lang.String |
ARGUMENT_PREFIX
|
static java.lang.String |
PP_ACTION_PREFIX
|
static java.lang.String |
PP_ARGUMENT_NAME
|
static java.lang.String |
PP_PREFIX
|
Constructor Summary | |
---|---|
SubmissionUtil()
|
Method Summary | |
---|---|
static void |
addPPAction(RequestParameters params,
int actionOrder,
java.lang.String actionName,
boolean onSuccess,
boolean onWarning,
boolean onError,
java.lang.String fileMgmtGroup,
java.lang.String[] arguments)
Deprecated. Use addPPAction(RequestParameters, int, String, String, boolean, boolean, boolean, String, String[]) |
static void |
addPPAction(RequestParameters params,
int actionOrder,
java.lang.String actionName,
boolean onSuccess,
boolean onWarning,
boolean onError,
java.lang.String fileMgmtGroup,
java.lang.String stepPath,
java.lang.String[] arguments)
Deprecated. Use addPPAction(RequestParameters, int, String, String, boolean, boolean, boolean, String, String, String[]) |
static void |
addPPAction(RequestParameters params,
int actionOrder,
java.lang.String actionName,
java.lang.String description,
boolean onSuccess,
boolean onWarning,
boolean onError,
java.lang.String fileMgmtGroup,
java.lang.String[] arguments)
Adds a post-processing action to a request. |
static void |
addPPAction(RequestParameters params,
int actionOrder,
java.lang.String actionName,
java.lang.String description,
boolean onSuccess,
boolean onWarning,
boolean onError,
java.lang.String fileMgmtGroup,
java.lang.String stepPath,
java.lang.String[] arguments)
Adds a post-processing action to a step in a jobset request. |
static java.lang.String |
getFilePersistenceMode()
|
static java.net.URL |
getNotificationServiceURL()
|
static java.lang.String |
getRequestFileDirectory()
|
static java.net.URI |
getSAMLTokenPolicyURI()
|
static void |
setNLSOptions(RequestParameters params,
java.lang.String language,
java.lang.String territory,
java.lang.String numericCharacters)
Sets NLS environment options for a request. |
static void |
setNLSOptions(RequestParameters params,
java.lang.String stepPath,
java.lang.String language,
java.lang.String territory,
java.lang.String numericCharacters)
Sets NLS environment options for a step within a jobset request. |
static void |
setStepArgs(RequestParameters params,
java.lang.String stepPath,
java.lang.String[] arguments)
Marshals arguments in the existing CP style into an ESS properties for a step in a jobset request. |
static void |
setSubmitArgs(RequestParameters params,
java.lang.String[] arguments)
Marshals arguments in the existing CP style into ESS properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ARGUMENT_PREFIX
public static final java.lang.String PP_ACTION_PREFIX
public static final java.lang.String PP_PREFIX
public static final java.lang.String PP_ARGUMENT_NAME
Constructor Detail |
---|
public SubmissionUtil()
Method Detail |
---|
public static void setSubmitArgs(RequestParameters params, java.lang.String[] arguments) throws IllegalArgumentException
ARGUMENT_PREFIX
#, where # is the
ordinal value of the argument. For example
ARGUMENT_PREFIX
1="firstArg"
and ARGUMENT_PREFIX
2="secondArg".
params
- a RequestParameters object into which this method
adds parameters.arguments
- arguments for concurrent request
IllegalArgumentException
- if the number of arguments exceeds 100public static void setStepArgs(RequestParameters params, java.lang.String stepPath, java.lang.String[] arguments) throws IllegalArgumentException
params
- a RequestParameters object into which this method
adds parameters.stepPath
- the pathname of a step in a jobsetarguments
- Argument for concurrent request
IllegalArgumentException
- if the number of arguments exceeds 100public static void setNLSOptions(RequestParameters params, java.lang.String language, java.lang.String territory, java.lang.String numericCharacters)
params
- a RequestParameters object into which this method
adds parameters.language
- territory
- numericCharacters
- public static void setNLSOptions(RequestParameters params, java.lang.String stepPath, java.lang.String language, java.lang.String territory, java.lang.String numericCharacters)
params
- a RequestParameters object into which this method
adds parameters.stepPath
- a pathname of a step in a jobsetlanguage
- territory
- numericCharacters
- public static void addPPAction(RequestParameters params, int actionOrder, java.lang.String actionName, java.lang.String description, boolean onSuccess, boolean onWarning, boolean onError, java.lang.String fileMgmtGroup, java.lang.String[] arguments) throws IllegalArgumentException
params
- a RequestParameters object into which this method
adds parameters.actionOrder
- The ordinal location of this action in the
sequence of actions to be performed within the action
domain. If a previous action used the same actionOrder, then
this action will replace the previous action.actionName
- The name of the action to perform.
For example, 'PRINT', 'NOTIFY', 'LAYOUT'.onSuccess
- Determines whether this action should be performed
on successful completion of the job.onWarning
- Determines whether this action should be performed
when the job or step has completed with a warning.onError
- Determines whether this action should be performed
when the job or step has completed with an error.fileMgmtGroup
- Name of the File Management Groupdescription
- Description of this post processor actionarguments
- A list of arguments for the post processor action.
IllegalArgumentException
- if the number of arguments exceeds 10@Deprecated public static void addPPAction(RequestParameters params, int actionOrder, java.lang.String actionName, boolean onSuccess, boolean onWarning, boolean onError, java.lang.String fileMgmtGroup, java.lang.String[] arguments) throws IllegalArgumentException
addPPAction(RequestParameters, int, String, String, boolean, boolean, boolean, String, String[])
IllegalArgumentException
public static void addPPAction(RequestParameters params, int actionOrder, java.lang.String actionName, java.lang.String description, boolean onSuccess, boolean onWarning, boolean onError, java.lang.String fileMgmtGroup, java.lang.String stepPath, java.lang.String[] arguments) throws IllegalArgumentException
params
- a RequestParameters object into which this method
adds parameters.actionOrder
- The ordinal location of this action in the
sequence of actions to be performed within the action
domain. If a previous action used the same actionOrder, then
this action will replace the previous action;actionName
- The name of the action to perform.
For example, 'PRINT', 'NOTIFY', 'LAYOUT'.onSuccess
- Determines whether this action should be performed
on successful completion of the job.onWarning
- Determines whether this action should be performed
when the job or step has completed with a warning.onError
- Determines whether this action should be performed
when the job or step has completed with an error.fileMgmtGroup
- Name of the File Management Groupdescription
- Description of this post processor actionstepPath
- the path to the step in the jobset;arguments
- A list of arguments for the post processor action.
IllegalArgumentException
- if the number of arguments exceeds 10@Deprecated public static void addPPAction(RequestParameters params, int actionOrder, java.lang.String actionName, boolean onSuccess, boolean onWarning, boolean onError, java.lang.String fileMgmtGroup, java.lang.String stepPath, java.lang.String[] arguments) throws IllegalArgumentException
addPPAction(RequestParameters, int, String, String, boolean, boolean, boolean, String, String, String[])
IllegalArgumentException
public static final java.net.URL getNotificationServiceURL() throws java.lang.Exception, java.net.MalformedURLException
java.lang.Exception
java.net.MalformedURLException
public static final java.net.URI getSAMLTokenPolicyURI() throws java.lang.Exception, java.net.URISyntaxException
java.lang.Exception
java.net.URISyntaxException
public static final java.lang.String getRequestFileDirectory() throws java.lang.Exception
java.lang.Exception
public static final java.lang.String getFilePersistenceMode() throws java.lang.Exception
java.lang.Exception
|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |