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

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

public class Message
extends 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, 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.
 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,
               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 String[] getParameters()
Method to retrieve the parameters of this message.

Returns:
the parameters of this message.


Copyright © 2013 WSO2 Inc. All Rights Reserved.