Package oracle.as.scheduler.substitution
Class RequestParamSubstitutionHandler
java.lang.Object
oracle.as.scheduler.substitution.RequestParamSubstitutionHandler
- All Implemented Interfaces:
SubstitutionHandler
This
SubstitutionHandler makes the elements of RequestParameters
available as substitutions. The name argument is used as the
RequestParameters name.
ID: ESS_REQ_PARAM
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Used to release any resources the handler may have claimed, such as open files or connections.booleancontainsKey(String name) Reports whether the handler can return a value to substitute forname.Gets the value which will be used to replace the token.getId()An identifier that can be used to request that a specific handler (or set of handlers) should be used for a substitution.
-
Constructor Details
-
RequestParamSubstitutionHandler
-
-
Method Details
-
getId
Description copied from interface:SubstitutionHandlerAn identifier that can be used to request that a specific handler (or set of handlers) should be used for a substitution.The returned ID should adhere to basic identifier rules, e.g., it should consist of letters, numbers, and underscores only. A
null, blank, or invalid ID may result in the handler being skipped.The method
getId()may be called at any time.- Specified by:
getIdin interfaceSubstitutionHandler- Returns:
- Handler identifier
-
containsKey
Description copied from interface:SubstitutionHandlerReports whether the handler can return a value to substitute forname. IfcontainsKeyreturnsfalse, then this handler will not be used for substitutingname.- Specified by:
containsKeyin interfaceSubstitutionHandler- Parameters:
name- the key value being checked- Returns:
- Returns
trueif it can handlename,falseotherwise
-
get
Description copied from interface:SubstitutionHandlerGets the value which will be used to replace the token. Ifnameis not supported, thenget()should returnnull. Conversely, if the handler returnstrueforcontainsKey, thenget()should return a non-null String.- Specified by:
getin interfaceSubstitutionHandler- Parameters:
name- The key value for the substitution- Returns:
- the value. This may contain other substitution tokens.
-
close
public void close()Description copied from interface:SubstitutionHandlerUsed to release any resources the handler may have claimed, such as open files or connections.- Specified by:
closein interfaceSubstitutionHandler
-