|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.norconex.jef.JobContext
public class JobContext
Basic POJO implementation of IJobContext
.
Field Summary |
---|
Fields inherited from interface com.norconex.jef.IJobContext |
---|
PROGRESS_100, PROGRESS_ZERO |
Constructor Summary | |
---|---|
JobContext()
Constructor. |
|
JobContext(IJobContext context)
Constructor. |
|
JobContext(String description,
long progressMinimum,
long progressMaximum)
Constructor. |
Method Summary | |
---|---|
String |
getDescription()
Gets the job description. |
long |
getProgressMaximum()
Gets the maximum execution progress value. |
long |
getProgressMinimum()
Gets the minimum execution progress value. |
void |
setDescription(String description)
|
void |
setProgressMaximum(long progressMaximum)
|
void |
setProgressMinimum(long progressMinimum)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JobContext()
public JobContext(String description, long progressMinimum, long progressMaximum)
description
- the job descriptionprogressMinimum
- the minimum possible progress valueprogressMaximum
- the maximum possible progress valuepublic JobContext(IJobContext context)
context
- Method Detail |
---|
public String getDescription()
IJobContext
getDescription
in interface IJobContext
public void setDescription(String description)
public long getProgressMinimum()
IJobContext
getProgressMinimum
in interface IJobContext
public void setProgressMinimum(long progressMinimum)
public long getProgressMaximum()
IJobContext
getProgressMaximum
in interface IJobContext
public void setProgressMaximum(long progressMaximum)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |