|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.eduvax.grant.core.AbstractTasklet
public abstract class AbstractTasklet
Default tasklet implementation template. Defining a new Tasklet class can be quickly done by extending this abstract class and just define a run() method.
| Field Summary | |
|---|---|
protected TaskletContext |
context
tasklet context. |
protected int |
exitCode
completion code. |
| Constructor Summary | |
|---|---|
AbstractTasklet()
create new tasklet. |
|
| Method Summary | |
|---|---|
int |
getCr()
gets completion code. |
void |
setContext(TaskletContext c)
set tsklet context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Field Detail |
|---|
protected int exitCode
protected TaskletContext context
| Constructor Detail |
|---|
public AbstractTasklet()
params - "command line" arguments| Method Detail |
|---|
public void setContext(TaskletContext c)
setContext in interface Taskletpublic int getCr()
getCr in interface Tasklet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||