2010-08-04 01:01:18 +02:00
|
|
|
package com.google.gridworks.process;
|
2010-05-05 01:24:48 +02:00
|
|
|
|
2010-08-04 01:01:18 +02:00
|
|
|
import com.google.gridworks.Jsonizable;
|
|
|
|
import com.google.gridworks.history.HistoryEntry;
|
2010-05-05 01:24:48 +02:00
|
|
|
|
|
|
|
public abstract class Process implements Jsonizable {
|
|
|
|
abstract public boolean isImmediate();
|
|
|
|
|
|
|
|
abstract public boolean isRunning();
|
|
|
|
abstract public boolean isDone();
|
|
|
|
|
|
|
|
abstract public HistoryEntry performImmediate() throws Exception;
|
|
|
|
|
|
|
|
abstract public void startPerforming(ProcessManager manager);
|
|
|
|
abstract public void cancel();
|
|
|
|
}
|