public abstract class Builder<T> extends Object
Base class for builder implementations.
Constructor and Description |
---|
Builder() |
protected abstract T create() throws SecurityConfigurationException
Creates a new configuration.
SecurityConfigurationException
- if any error occurs or for any invalid configurationprotected abstract void validate() throws SecurityConfigurationException
Validates the internal state.
SecurityConfigurationException
- if any error occurs or for any invalid configurationprotected abstract Builder<T> readFrom(T fromConfiguration) throws SecurityConfigurationException
Reads a pre-created configuration.
fromConfiguration
- SecurityConfigurationException
- if any error occurs or for any invalid configurationCopyright © 2018 JBoss by Red Hat. All rights reserved.