org.wso2.carbon.registry.synchronization.message
Class Message

java.lang.Object
  extended by org.wso2.carbon.registry.synchronization.message.Message

public class Message
extends java.lang.Object

A representation of a message presented to a user during the process of synchronizing a given registry instance with a specified location on the filesystem.


Constructor Summary
Message(MessageCode messageCode, java.lang.String[] parameters)
          Constructor accepting the code of the message and a list of parameters.
 
Method Summary
 MessageCode getMessageCode()
          Method to retrieve the code of this message.
 java.lang.String[] getParameters()
          Method to retrieve the parameters of this message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

public Message(MessageCode messageCode,
               java.lang.String[] parameters)
Constructor accepting the code of the message and a list of parameters.

Parameters:
messageCode - the message code.
parameters - the list of parameters.
Method Detail

getMessageCode

public MessageCode getMessageCode()
Method to retrieve the code of this message.

Returns:
the message code.

getParameters

public java.lang.String[] getParameters()
Method to retrieve the parameters of this message.

Returns:
the parameters of this message.


Copyright © 2011 WSO2 Inc. All Rights Reserved.