public interface ConfigurationWriter<ServiceConfig,Param>
| Modifier and Type | Method and Description |
|---|---|
Class<ServiceConfig> |
getConfigurationClass()
Returns the Class of the ServiceConfig to write.
|
VersionProperty |
getConfigurationFormat()
Specifies the Service Configuration Format version to write.
|
Class<Param> |
getParameterClass()
Returns the Class of the Parameter required to write a ServiceConfig.
|
boolean |
writeConfiguration(ServiceConfig config,
Param param)
Writes a ServiceConfig of the specified type using the given parameters.
|
VersionProperty getConfigurationFormat()
boolean writeConfiguration(ServiceConfig config, Param param) throws Exception
config - ServiceConfig to writeparam - parameters needed to write the ServiceConfig, such as a FileException - if there is an error writing the configurationClass<ServiceConfig> getConfigurationClass()
Copyright © 2011-2014. All Rights Reserved.