01: package org.columba.api.command;
02:
03: public interface ICommand {
04:
05: public abstract void updateGUI() throws Exception;
06:
07: /**
08: * Command must implement this method Executes the Command when run the
09: * first time
10: *
11: * @param worker
12: * @throws Exception
13: */
14: public abstract void execute(IWorkerStatusController worker)
15: throws Exception;
16:
17: public abstract ICommandReference getReference();
18:
19: public abstract void releaseAllFolderLocks();
20:
21: public abstract boolean canBeProcessed();
22:
23: }
|