|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.toolforge.karma.core.cmd.event.CommandResponseEvent
Event thrown when a CommandResponse
changes. Classes interested in this event
implement the CommandResponseListener
interface.
Field Summary |
Fields inherited from interface nl.toolforge.karma.core.cmd.event.Event |
LEVEL_DEBUG, LEVEL_INFO, LEVEL_VERBOSE |
Constructor Summary | |
CommandResponseEvent(Command command)
Constructs a CommandResponseEvent and assumes the default priority to be Event.LEVEL_INFO . |
|
CommandResponseEvent(Command command,
int priority)
Constructs a CommandResponseEvent . |
Method Summary | |
Command |
getCommand()
Returns the command that generated this event. |
abstract Message |
getEventMessage()
Implementations should return a specific Message instance. |
int |
getPriority()
Gets the priority level for the event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandResponseEvent(Command command)
CommandResponseEvent
and assumes the default priority to be Event.LEVEL_INFO
.
command
- The Command
that generatedpublic CommandResponseEvent(Command command, int priority)
CommandResponseEvent
.
command
- The Command
that generatedpriority
- The priority of the event.Method Detail |
public final int getPriority()
{@link #LEVEL_VERBOSE}
,
{@link #LEVEL_INFO}
,
{@link #LEVEL_DEBUG}
public abstract Message getEventMessage()
Message
instance.
public Command getCommand()
Command
command that generated this event.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |