nl.toolforge.karma.core.cmd.event
Class SimpleMessage

java.lang.Object
  extended bynl.toolforge.karma.core.cmd.event.SimpleMessage
All Implemented Interfaces:
Message

public class SimpleMessage
extends java.lang.Object
implements Message

Version:
$Id: SimpleMessage.java,v 1.2 2004/10/26 22:47:59 hippe Exp $
Author:
D.A. Smedes

Constructor Summary
SimpleMessage(java.lang.String message)
          Constructs a CommandMessage with a (simple) text message.
SimpleMessage(java.lang.String message, java.lang.Object[] messageArguments)
          Constructs a CommandMessage with a (simple) text message and message parameters as per the java.text.MessageFormat manner.
 
Method Summary
 java.lang.String getMessageText()
          The text message for this CommandMessage, with
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMessage

public SimpleMessage(java.lang.String message)
Constructs a CommandMessage with a (simple) text message.

Parameters:
message - The message text for the CommandMessage.

SimpleMessage

public SimpleMessage(java.lang.String message,
                     java.lang.Object[] messageArguments)
Constructs a CommandMessage with a (simple) text message and message parameters as per the java.text.MessageFormat manner.

Parameters:
message - The message text for the CommandMessage.
Method Detail

getMessageText

public java.lang.String getMessageText()
The text message for this CommandMessage, with

Specified by:
getMessageText in interface Message
Returns:
The text message for this CommandMessage.


Copyright © 2002-2004 Toolforge. All Rights Reserved.