Package org.opencms.letsencrypt
Class CmsSiteConfigToLetsEncryptConfigConverter.DomainGrouping
java.lang.Object
org.opencms.letsencrypt.CmsSiteConfigToLetsEncryptConfigConverter.DomainGrouping
- Enclosing class:
- CmsSiteConfigToLetsEncryptConfigConverter
Represents a grouping of domains into certificates.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDomainSet
(Set<String> domains) Adds a domain group.Generates the JSON configuration corresponding to the domain grouping.Checks all domains for resolvability and return the unresolvable ones.boolean
isEmpty()
Checks if the domain grouping does not contain any domain groups.
-
Constructor Details
-
DomainGrouping
public DomainGrouping()
-
-
Method Details
-
addDomainSet
Adds a domain group.- Parameters:
domains
- the domain group
-
generateCertJson
Generates the JSON configuration corresponding to the domain grouping.- Returns:
- the JSON configuration corresponding to the domain grouping
-
getUnresolvableDomains
Checks all domains for resolvability and return the unresolvable ones.- Returns:
- the set of unresolvable domains
-
isEmpty
Checks if the domain grouping does not contain any domain groups.- Returns:
- true if there are no domain groups
-