Package com.io7m.certusine.etcd
Class CSEtcdOutputProvider
java.lang.Object
com.io7m.certusine.api.CSAbstractNamedProvider
com.io7m.certusine.etcd.CSEtcdOutputProvider
- All Implemented Interfaces:
CSCertificateOutputProviderType,CSNamedProviderType
public final class CSEtcdOutputProvider
extends CSAbstractNamedProvider
implements CSCertificateOutputProviderType
An etcd certificate output.
-
Constructor Summary
ConstructorsConstructorDescriptionAccess to etcd.CSEtcdOutputProvider(Locale locale) Access to etcd.CSEtcdOutputProvider(Locale locale, CSEtcdStrings inStrings) Access to etcd. -
Method Summary
Modifier and TypeMethodDescriptioncreate(String name, CSConfigurationParameters parameters) Create a new output.name()Methods inherited from class com.io7m.certusine.api.CSAbstractNamedProvider
checkParameters
-
Constructor Details
-
CSEtcdOutputProvider
Access to etcd.- Parameters:
locale- A locale for error messagesinStrings- String resources- Throws:
IOException- On I/O errors
-
CSEtcdOutputProvider
Access to etcd.- Parameters:
locale- A locale for error messages- Throws:
IOException- On I/O errors
-
CSEtcdOutputProvider
Access to etcd.- Throws:
IOException- On I/O errors
-
-
Method Details
-
create
public CSCertificateOutputType create(String name, CSConfigurationParameters parameters) throws CSConfigurationException Description copied from interface:CSCertificateOutputProviderTypeCreate a new output.- Specified by:
createin interfaceCSCertificateOutputProviderType- Parameters:
name- The output nameparameters- The configuration parameters- Returns:
- A new output
- Throws:
CSConfigurationException- On configuration errors
-
name
- Specified by:
namein interfaceCSNamedProviderType- Returns:
- The provider name
-
description
- Specified by:
descriptionin interfaceCSNamedProviderType- Returns:
- A human-readable description of the provider
-
parameters
- Specified by:
parametersin interfaceCSNamedProviderType- Returns:
- A map describing the parameters
-