insensa.commands
Class AbstractModelCommand
java.lang.Object
insensa.commands.AbstractModelCommand
- All Implemented Interfaces:
- ModelCommand
- Direct Known Subclasses:
- CreateUserCommand, DeleteProjectCommand, ImportConfigCommand, ImportFilesCommand, ImportFolderCommand, ImportProjectCommand, ImportProjectCommand.DeleteFolderSolution, LinkFileCommand, MoveFileCommand, OpenProjectCommand, RenameFileSetCommand, RenameRasterFileCommand
public abstract class AbstractModelCommand
- extends java.lang.Object
- implements ModelCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
workerStatus
protected WorkerStatus workerStatus
problem
protected ICommandProblem problem
AbstractModelCommand
public AbstractModelCommand()
check
public boolean check()
- Specified by:
check
in interface ModelCommand
- Returns:
- See Also:
ModelCommand.check()
createDependendCommands
public void createDependendCommands()
- Specified by:
createDependendCommands
in interface ModelCommand
- See Also:
ModelCommand.createDependendCommands()
getProblem
public ICommandProblem getProblem()
- Specified by:
getProblem
in interface ModelCommand
- Returns:
- See Also:
ModelCommand.getProblem()
getWorkerStatus
public WorkerStatus getWorkerStatus()
- Specified by:
getWorkerStatus
in interface ModelCommand
- Returns:
- See Also:
ModelCommand.getWorkerStatus()
retry
public void retry()
throws java.io.IOException,
CRasterFileException
- Specified by:
retry
in interface ModelCommand
- Throws:
java.io.IOException
CRasterFileException
- See Also:
ModelCommand.retry()
setWorkerStatus
public void setWorkerStatus(WorkerStatus wStatus)
- Specified by:
setWorkerStatus
in interface ModelCommand
- See Also:
ModelCommand.setWorkerStatus(insensa.WorkerStatus)
throwErrorMessage
protected void throwErrorMessage(java.lang.String errorMessage)
throws ModelCommandException
- Parameters:
errorMessage
-
- Throws:
ModelCommandException
throwProblem
protected void throwProblem(ICommandProblem problem)
throws ModelCommandException
- Parameters:
problem
-
- Throws:
ModelCommandException
undo
public void undo()
throws java.io.IOException,
CRasterFileException
- Specified by:
undo
in interface ModelCommand
- Throws:
java.io.IOException
CRasterFileException
- See Also:
ModelCommand.undo()