InteractiveResponseBuilder (Hyperic HQ Plugin API)
Keywords: org.hyperic.util.config.InteractiveResponseBuilder class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`InteractiveResponseBuilder(InteractiveResponseBuilder_IOHandler io)`

Method Summary
`java.lang.String` | `handleHiddenInput(java.lang.String s)`
`java.lang.String` | `handleInput(java.lang.String s)`
`ConfigResponse` | `processConfigSchema(ConfigSchema schema)`
`ConfigResponse` | `processConfigSchema(ConfigSchema schema, ConfigResponse defaults)` Process a configuration schema.
`void` | `sendToErrStream(java.lang.String msg)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### InteractiveResponseBuilder

    public InteractiveResponseBuilder(InteractiveResponseBuilder_IOHandler io)

Method Detail

### 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)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.