of-commons-concurrency/src/main/java/org/openforis/concurrency/Job.java
/**
	 * Runs each contained task in order.
	 * 
	 * @throws Exception
	 */
Runs each contained task in order.

@throws Exception
Runs each contained task in order . @throws Exception
@Override
	protected void execute() throws Throwable {
		while ( hasTaskToRun() ) {
			Worker task = nextTask();
			initializeTask(task);
			switch (task.getStatus()) {
			case PENDING:
				runTask(task);
				break;
			case FAILED:
				onTaskFailed(task);
				break;
			case ABORTED:
				abort();
				break;
			default:
			}
		}
	}
@ Override protected void execute ( ) throws Throwable { while ( hasTaskToRun ( ) ) { Worker task = nextTask ( ) ; initializeTask ( task ) ; switch ( task . getStatus ( ) ) { case PENDING : runTask ( task ) ; break ; case FAILED : onTaskFailed ( task ) ; break ; case ABORTED : abort ( ) ; break ; default : } } }
Runs each contained task in order.
Runs each contained task in order .