|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bibalex.daf.entities.job.JobState
public abstract class JobState
Represents the state of the job.
Direct known sub classes are:
CheckingInState, StartingState, FinishingState, RedirectingState, RejectingState, UploadingState, DownloadingState and ChangingJobTypeState.
Constructor Summary | |
---|---|
JobState()
|
Method Summary | |
---|---|
abstract java.lang.String |
getErrorMessage()
This method gets the mesage that is to be displaed to the user |
abstract java.lang.String |
getName()
Gets the user friendly name of the state. |
abstract int |
getNoOfFiles()
Gets the number of files required to complete the transition of the job. |
abstract boolean |
makeTransition()
Makes the transition that will bring the job to the desired state. For example: If the current state is StartingState and makeTransition is invoked and completes successfully, the job will be considered started (i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobState()
Method Detail |
---|
public abstract java.lang.String getName()
public abstract int getNoOfFiles()
public abstract boolean makeTransition()
public abstract java.lang.String getErrorMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |