com.googlecode.jpattern.core.command
Class ICommandResult

java.lang.Object
  extended by com.googlecode.jpattern.core.command.ICommandResult
All Implemented Interfaces:
IResult, Serializable
Direct Known Subclasses:
CommandResult

public abstract class ICommandResult
extends Object
implements IResult

Author:
Francesco Cina' 27/feb/2011
See Also:
Serialized Form

Constructor Summary
ICommandResult()
           
 
Method Summary
abstract  void addErrorMessage(IErrorMessage errorMessage)
           
abstract  String asString()
           
protected abstract  void commandEndExecution(ICommand aCommand)
           
protected abstract  void commandStartExecution(ICommand aCommand)
           
abstract  boolean isExecutionEnd()
           
protected abstract  void removeAllCommands()
           
abstract  void waitExecutionEnd()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.googlecode.jpattern.core.command.IResult
getErrorMessages, isValid
 

Constructor Detail

ICommandResult

public ICommandResult()
Method Detail

isExecutionEnd

public abstract boolean isExecutionEnd()

waitExecutionEnd

public abstract void waitExecutionEnd()
                               throws InterruptedException
Throws:
InterruptedException

addErrorMessage

public abstract void addErrorMessage(IErrorMessage errorMessage)

asString

public abstract String asString()

commandStartExecution

protected abstract void commandStartExecution(ICommand aCommand)

commandEndExecution

protected abstract void commandEndExecution(ICommand aCommand)

removeAllCommands

protected abstract void removeAllCommands()


Copyright © 2011. All Rights Reserved.