org.hyperic.util.config
Interface ConfigSchemaProvider
- All Known Subinterfaces:
- InstallerConfigSchemaProvider
public interface ConfigSchemaProvider
A simple interface that allows us to abstract where the schema comes from.
getSchema
ConfigSchema getSchema(ConfigResponse previous,
int iterationCount)
throws EarlyExitException
- Parameters:
iterationCount
- The iterationCount. A schema provider
can return multiple schemas. If this method returns null, then
that means there are no more schemas to provide.previous
- The responses to the previous ConfigSchema.
If the iterationCount is zero, then this value should be
null - or if not it should be ignored.
- Returns:
- A ConfigSchema from this provider, or null if there
are no more schemas.
- Throws:
EarlyExitException
- If the schema provider wants
to bail out early from the entire config process.
getCompletionText
java.lang.String getCompletionText(ConfigResponse config)
- Parameters:
config
- The complete config response for this schema.
- Returns:
- Informative text about the result of the config operations.
If there is no such text available, this method may return null.
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.