org.wso2.carbon.registry.synchronization
Interface UserInputCallback


public interface UserInputCallback

This is a representation designed to implement a callback that is capable of providing a option for a user to make a selection and return the choice that the user made.


Method Summary
 void displayMessage(Message message)
          Method to display a message to a user.
 boolean getConfirmation(Message question, String confirmationContext)
          Method to obtain a confirmation from a user.
 

Method Detail

getConfirmation

boolean getConfirmation(Message question,
                        String confirmationContext)
Method to obtain a confirmation from a user.

Parameters:
question - the question asked from the user.
confirmationContext - the context used.
Returns:
the choice of the user.

displayMessage

void displayMessage(Message message)
Method to display a message to a user.

Parameters:
message - the message to display.


Copyright © 2010. All Rights Reserved.