public class CertifierRegistry extends Object
Modifier and Type | Method and Description |
---|---|
AbstractCertifier |
getCertifier(String strCertifierCode)
Get a certifier by its code
|
Map<String,AbstractCertifier> |
getCertifiers() |
Collection<AbstractCertifier> |
getCertifiersList() |
static CertifierRegistry |
instance()
Returns the unique instance
|
void |
register(AbstractCertifier certifier)
Add a certifier to the registry
|
public static CertifierRegistry instance()
public AbstractCertifier getCertifier(String strCertifierCode) throws CertifierNotFoundException
strCertifierCode
- The codeCertifierNotFoundException
- if the certifier is not foundpublic void register(AbstractCertifier certifier)
certifier
- public Collection<AbstractCertifier> getCertifiersList()
public Map<String,AbstractCertifier> getCertifiers()
Copyright © 2017 City of Paris. All rights reserved.