public interface CrnAuthority
Modifier and Type | Method and Description |
---|---|
boolean |
areEquivalent(ConfluentResourceName a,
ConfluentResourceName b)
Return true iff the two CRNs refer to the same resource(s)
|
ConfluentResourceName |
canonicalCrn(ConfluentResourceName crn)
Return the canonical CRN for the given CRN
|
ConfluentResourceName |
canonicalCrn(String crnString)
Return the canonical CRN for the String
|
String |
name()
The name of this Authority.
|
String name()
ConfluentResourceName canonicalCrn(String crnString) throws CrnSyntaxException
CrnSyntaxException
- if there are misnamed elements in the scopeConfluentResourceName canonicalCrn(ConfluentResourceName crn) throws CrnSyntaxException
CrnSyntaxException
- if there are misnamed elements in the scopeboolean areEquivalent(ConfluentResourceName a, ConfluentResourceName b) throws CrnSyntaxException
CrnSyntaxException