org.hyperic.util.config
Class InteractiveResponseBuilder
java.lang.Object
org.hyperic.util.config.InteractiveResponseBuilder
- All Implemented Interfaces:
- ResponseBuilder
- Direct Known Subclasses:
- AutomatedResponseBuilder
public class InteractiveResponseBuilder
- extends java.lang.Object
- implements ResponseBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InteractiveResponseBuilder
public InteractiveResponseBuilder(InteractiveResponseBuilder_IOHandler io)
handleInput
public java.lang.String handleInput(java.lang.String s)
throws java.io.IOException,
java.io.EOFException
- Throws:
java.io.IOException
java.io.EOFException
handleHiddenInput
public java.lang.String handleHiddenInput(java.lang.String s)
throws java.io.IOException,
java.io.EOFException
- Throws:
java.io.IOException
java.io.EOFException
processConfigSchema
public ConfigResponse processConfigSchema(ConfigSchema schema)
throws EncodingException,
java.io.IOException,
InvalidOptionException,
EarlyExitException
- Specified by:
processConfigSchema
in interface ResponseBuilder
- Throws:
EncodingException
java.io.IOException
InvalidOptionException
EarlyExitException
processConfigSchema
public ConfigResponse processConfigSchema(ConfigSchema schema,
ConfigResponse defaults)
throws java.io.IOException,
InvalidOptionException,
EarlyExitException
- Process a configuration schema.
- Parameters:
schema
- The schema to process.
- Returns:
- The filled-out ConfigResponse.
- Throws:
java.io.IOException
InvalidOptionException
EarlyExitException
sendToErrStream
public void sendToErrStream(java.lang.String msg)
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.