org.aspectj.org.eclipse.jdt.internal.core.search.processing
Interface IJob

All Known Implementing Classes:
IndexAllProject, IndexBinaryFolder, IndexRequest, PatternSearchJob, SaveIndex, SubTypeSearchJob

public interface IJob


Field Summary
static int CancelIfNotReady
           
static boolean COMPLETE
           
static boolean FAILED
           
static int ForceImmediate
           
static int WaitUntilReady
           
 
Method Summary
 boolean belongsTo(java.lang.String jobFamily)
          Answer true if the job belongs to a given family (tag)
 void cancel()
          Asks this job to cancel its execution.
 void ensureReadyToRun()
          Ensures that this job is ready to run.
 boolean execute(IProgressMonitor progress)
          Execute the current job, answer whether it was successful.
 java.lang.String getJobFamily()
          Returns this job's family
 

Field Detail

ForceImmediate

static final int ForceImmediate
See Also:
Constant Field Values

CancelIfNotReady

static final int CancelIfNotReady
See Also:
Constant Field Values

WaitUntilReady

static final int WaitUntilReady
See Also:
Constant Field Values

FAILED

static final boolean FAILED
See Also:
Constant Field Values

COMPLETE

static final boolean COMPLETE
See Also:
Constant Field Values
Method Detail

belongsTo

boolean belongsTo(java.lang.String jobFamily)
Answer true if the job belongs to a given family (tag)


cancel

void cancel()
Asks this job to cancel its execution. The cancellation can take an undertermined amount of time.


ensureReadyToRun

void ensureReadyToRun()
Ensures that this job is ready to run.


execute

boolean execute(IProgressMonitor progress)
Execute the current job, answer whether it was successful.


getJobFamily

java.lang.String getJobFamily()
Returns this job's family