|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.batch.core.JobParameter
public class JobParameter
Domain representation of a parameter to a batch job. Only the following types can be parameters: String, Long, Date, and Double.
Nested Class Summary | |
---|---|
static class |
JobParameter.ParameterType
Enumeration representing the type of a JobParameter. |
Constructor Summary | |
---|---|
JobParameter(Date parameter)
Construct a new JobParameter as a Date. |
|
JobParameter(Double parameter)
Construct a new JobParameter as a Double. |
|
JobParameter(Long parameter)
Construct a new JobParameter as a Long. |
|
JobParameter(String parameter)
Construct a new JobParameter as a String. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
JobParameter.ParameterType |
getType()
|
Object |
getValue()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JobParameter(String parameter)
public JobParameter(Long parameter)
parameter
- public JobParameter(Date parameter)
parameter
- public JobParameter(Double parameter)
parameter
- Method Detail |
---|
public Object getValue()
public JobParameter.ParameterType getType()
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |