com.googlecode.jpattern.core.command
Class CommandResult

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

public class CommandResult
extends ICommandResult

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

Constructor Summary
CommandResult()
           
 
Method Summary
 void addErrorMessage(IErrorMessage errorMessage)
           
 String asString()
           
protected  void commandEndExecution(ICommand aCommand)
           
protected  void commandStartExecution(ICommand aCommand)
           
 List<IErrorMessage> getErrorMessages()
           
 boolean isExecutionEnd()
           
 boolean isValid()
           
protected  void removeAllCommands()
           
 void waitExecutionEnd()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandResult

public CommandResult()
Method Detail

isExecutionEnd

public final boolean isExecutionEnd()
Specified by:
isExecutionEnd in class ICommandResult

waitExecutionEnd

public final void waitExecutionEnd()
                            throws InterruptedException
Specified by:
waitExecutionEnd in class ICommandResult
Throws:
InterruptedException

commandStartExecution

protected final void commandStartExecution(ICommand aCommand)
Specified by:
commandStartExecution in class ICommandResult

commandEndExecution

protected final void commandEndExecution(ICommand aCommand)
Specified by:
commandEndExecution in class ICommandResult

removeAllCommands

protected final void removeAllCommands()
Specified by:
removeAllCommands in class ICommandResult

getErrorMessages

public final List<IErrorMessage> getErrorMessages()

addErrorMessage

public final void addErrorMessage(IErrorMessage errorMessage)
Specified by:
addErrorMessage in class ICommandResult

isValid

public boolean isValid()

asString

public String asString()
Specified by:
asString in class ICommandResult


Copyright © 2011. All Rights Reserved.