org.oddjob.input.requests
Class InputMessage

java.lang.Object
  extended by org.oddjob.input.requests.InputMessage
All Implemented Interfaces:
InputRequest

public class InputMessage
extends Object
implements InputRequest

Description

A Message with a prompt to continue.

Example

See InputJob for an example.
Author:
rob

Constructor Summary
InputMessage()
           
 
Method Summary
 String getMessage()
           
 String getProperty()
           
 void render(InputMedium medium)
           
 void setMessage(String prompt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputMessage

public InputMessage()
Method Detail

render

public void render(InputMedium medium)
Specified by:
render in interface InputRequest

getMessage

public String getMessage()

setMessage

public void setMessage(String prompt)

getProperty

public String getProperty()
Specified by:
getProperty in interface InputRequest

Property: property

Description: Always null. This is because no property can be set for a confirmation.