| org.eclipse.ui.examples.jobs.TestJob
TestJob | public class TestJob extends Job (Code) | | Base class for a simple test job with configurable parameters
|
Constructor Summary | |
public | TestJob(long duration, boolean lock, boolean failure, boolean indeterminate, boolean reschedule, long rescheduleWait) |
Method Summary | |
public boolean | belongsTo(Object family) | public IStatus | run(IProgressMonitor monitor) |
FAMILY_TEST_JOB | final public static Object FAMILY_TEST_JOB(Code) | | A family identifier for all test jobs
|
TestJob | public TestJob(long duration, boolean lock, boolean failure, boolean indeterminate, boolean reschedule, long rescheduleWait)(Code) | | Creates a new test job
Parameters: duration - Total time that the test job should sleep, in milliseconds. Parameters: lock - Whether the job should use a workspace scheduling rule Parameters: failure - Whether the job should fail Parameters: indeterminate - Whether the job should report indeterminate progress Parameters: rescheduleWait - Parameters: reschedule - |
run | public IStatus run(IProgressMonitor monitor)(Code) | | |
|
|