public class Mode extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PRODUCTION |
static String |
TEST |
| Modifier and Type | Method and Description |
|---|---|
com.typesafe.config.Config |
getConfig() |
String |
getIdentifier() |
String |
getString(String key) |
boolean |
hasString(String key) |
<T> T |
initiate(Class<T> cls) |
<T> T |
initiate(Class<T> cls,
Map<String,Object> objectStorage) |
<T> T |
initiate(String key,
Class<T> type) |
<T> T |
initiate(String key,
Class<T> type,
Map<String,Object> objectStorage) |
static Mode |
of(com.typesafe.config.Config config,
String identifier) |
static Mode |
of(String identifier) |
public static final String PRODUCTION
public static final String TEST
public String getIdentifier()
public boolean hasString(String key)
public com.typesafe.config.Config getConfig()
public <T> T initiate(String key, Class<T> type, Map<String,Object> objectStorage) throws PeppolLoadingException
PeppolLoadingExceptionpublic <T> T initiate(String key, Class<T> type) throws PeppolLoadingException
PeppolLoadingExceptionpublic <T> T initiate(Class<T> cls) throws PeppolLoadingException
PeppolLoadingExceptionpublic <T> T initiate(Class<T> cls, Map<String,Object> objectStorage) throws PeppolLoadingException
PeppolLoadingExceptionCopyright © 2021 NorStella. All rights reserved.