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, java.io.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)
           
 java.lang.String asString()
           
protected  void commandEndExecution(ICommand aCommand)
           
protected  void commandStartExecution(ICommand aCommand)
           
 java.util.List<IErrorMessage> getErrorMessages()
           
 boolean isExecutionEnd()
           
 boolean isValid()
           
 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 java.lang.InterruptedException
Specified by:
waitExecutionEnd in class ICommandResult
Throws:
java.lang.InterruptedException

commandStartExecution

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

commandEndExecution

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

getErrorMessages

public java.util.List<IErrorMessage> getErrorMessages()

addErrorMessage

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

isValid

public boolean isValid()

asString

public java.lang.String asString()
Specified by:
asString in class ICommandResult


Copyright © 2011. All Rights Reserved.