*
* @author mmwarowny
*/
+// TODO: make class non-abstract by removing isInputValid()
public abstract class BaseJob implements JobI
{
protected final long internalId = MathUtils.getUID();
protected final List<SequenceI> inputSeqs;
- protected JobStatus status = null;
+ protected JobStatus status = JobStatus.CREATED;
protected String log = "";
*
* @return {@code true} if the input is valid.
*/
+ // FIXME: method not necessary, may incorporate into task#prepare()
public abstract boolean isInputValid();
/**
* @param listener
* property change listener
*/
- public final void addPropertyChagneListener(PropertyChangeListener listener)
+ public final void addPropertyChangeListener(PropertyChangeListener listener)
{
pcs.addPropertyChangeListener(listener);
}