|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6.3) E26229-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.as.scheduler.ParameterList
public class ParameterList
Stores list of parameters. Instance of this class is used to declare all the parameters of a given JobDefinition, JobType or JobSet definition. This can include both application level parameters and system properties for a given definition (metadata object).
Constructor Summary | |
---|---|
ParameterList() Constructs an instance of ParameterList. |
|
ParameterList(ParameterList source) Constructs an instance with the same list mappings as the specified object. |
Method Summary | |
---|---|
void |
add(ParameterInfo param) Adds a parameter to the list. |
void |
add(java.lang.String name, java.lang.Boolean value, boolean readOnly) Adds a parameter of type Boolean to this list with the given name and value. |
void |
add(java.lang.String name, java.lang.Integer value, boolean readOnly) Adds a parameter of type Integer to this list with the given name and value. |
void |
add(java.lang.String name, java.lang.Long value, boolean readOnly) Adds a parameter of type Long to this list with the given name and value. |
void |
add(java.lang.String name, ParameterInfo.DataType type) Adds a parameter to this list with the given name and data type. |
void |
add(java.lang.String name, ParameterInfo.DataType type, java.lang.Object value, boolean readOnly) Adds a parameter to the list with the given information about the parameter. |
void |
add(java.lang.String name, ParameterInfo.DataType type, java.lang.Object value, boolean readOnly, boolean legacy) Adds a parameter to the list with the given information about the parameter. |
void |
add(java.lang.String name, java.lang.String value, boolean readOnly) Adds a parameter of type String to this list with the given name and value. |
void |
clear() Removes all parameter information from this list. |
boolean |
contains(java.lang.String name) Indicates if this list contains a parameter for the given name. |
boolean |
equals(java.lang.Object obj) Compares the specific object with this object for equality. |
ParameterInfo |
get(java.lang.String name) Returns the information about the given parameter from this list. |
java.util.Collection<ParameterInfo> |
getAll() Returns a collection view of all the parameters from this list. |
java.util.Enumeration<java.lang.String> |
getNames() Returns all the names of the parameters in this list. |
java.lang.Object |
getValue(java.lang.String name) Gets the value for a parameter in the list. |
int |
hashCode() Returns the hash code value of this list. |
void |
remove(java.lang.String name) Removes the given parameter from the list. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParameterList()
public ParameterList(ParameterList source)
source
- the list whose parameters are to be placed in this objectjava.lang.NullPointerException
- if the specified list is null
.Method Detail |
---|
public void add(java.lang.String name, java.lang.String value, boolean readOnly)
name
- the name of the parameter to be added.value
- value of the parameter.readOnly
- indicates whether the parameter is read-only or not. If read only, subsequent objects cannot change the value.public void add(java.lang.String name, java.lang.Integer value, boolean readOnly)
name
- the name of the parameter to be added.value
- value of the parameter.readOnly
- indicates whether the parameter is read-only or not. If read only, subsequent objects cannot change the value.public void add(java.lang.String name, java.lang.Long value, boolean readOnly)
name
- the name of the parameter to be added.value
- value of the parameter.readOnly
- indicates whether the parameter is read-only or not. If read only, subsequent objects cannot change the value.public void add(java.lang.String name, java.lang.Boolean value, boolean readOnly)
name
- the name of the parameter to be added.value
- value of the parameter.readOnly
- indicates whether the parameter is read-only or not. If read only, subsequent objects cannot change the value.public void add(java.lang.String name, ParameterInfo.DataType type)
name
- the name of the parameter to be added.type
- the data type of the parameter. The data type is one of the supported data types.public void add(java.lang.String name, ParameterInfo.DataType type, java.lang.Object value, boolean readOnly)
name
- the name of the parameter to be added.type
- the data type of the parametervalue
- an optional (default) value of the parameter. The data type of the value must match with the type argument.readOnly
- indicates whether the parameter is read-only or not. If read only, subsequent objects cannot change the value.public void add(java.lang.String name, ParameterInfo.DataType type, java.lang.Object value, boolean readOnly, boolean legacy)
name
- the name of the parameter to be added.type
- the data type of the parametervalue
- an optional (default) value of the parameter. The data type of the value must match with the type argument.readOnly
- indicates whether the parameter is read-only or not. If read only, subsequent objects cannot change the value.legacy
- indicates whether the parameter is legacypublic void add(ParameterInfo param)
This simply adds the specified ParameterInfo
to the list, it does not create a new ParameterInfo
object.
param
- the parameter info instance to be added to the list.java.lang.NullPointerException
- if the parameter info is null
.public java.util.Enumeration<java.lang.String> getNames()
public boolean contains(java.lang.String name)
name
- the name of the parametertrue
if the parameter exists in the list, or false
if not.public ParameterInfo get(java.lang.String name)
name
- the name of the parameter whose information is returned.ParameterInfo
for the parameter. This will be null
if this list does not contain a parameter with the given name.public java.util.Collection<ParameterInfo> getAll()
ParameterInfo
public java.lang.Object getValue(java.lang.String name)
name
- the name of the parameternull
if the list does not a parameter with the given name.public void remove(java.lang.String name)
name
- the name of the parameter to be removed.public void clear()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to be compared.true
of the given object is equal to this object, or false
otherwise.
|
Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6.3) E26229-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |