public class TrellisConfiguration
extends io.dropwizard.Configuration
| Constructor and Description |
|---|
TrellisConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
any()
Get any extra metadata.
|
AssetConfiguration |
getAssets()
Get the asset configuration.
|
AuthConfiguration |
getAuth()
Get the Auth configuration.
|
String |
getBaseUrl()
Get the base URL.
|
CacheConfiguration |
getCache()
Get the cache configuration.
|
CORSConfiguration |
getCors()
Get the CORS configuration.
|
String |
getDefaultName()
Get the application name.
|
String |
getHubUrl()
Get the websub hub URL.
|
JsonLdConfiguration |
getJsonld()
Get the namespace filename.
|
NotificationsConfiguration |
getNotifications()
Get the notifications configuration.
|
TrellisConfiguration |
setAdditionalConfig(String name,
Object value)
Set an extra configuration value.
|
void |
setAssets(AssetConfiguration assets)
Set the asset configuration.
|
void |
setAuth(AuthConfiguration auth)
Set the Auth configuration.
|
void |
setBaseUrl(String baseUrl)
Set the base URL.
|
void |
setCache(CacheConfiguration cache)
Set the cache configuration.
|
void |
setCors(CORSConfiguration cors)
Set the CORS configuration.
|
void |
setDefaultName(String name)
Set the application name.
|
void |
setHubUrl(String hubUrl)
Set the websub hub URL.
|
void |
setJsonld(JsonLdConfiguration jsonld)
Set the json-ld configuration.
|
void |
setNotifications(NotificationsConfiguration notifications)
Set the notifications configuration.
|
public String getBaseUrl()
public void setBaseUrl(String baseUrl)
baseUrl - the baseURLpublic String getHubUrl()
public void setHubUrl(String hubUrl)
hubUrl - the hub URLpublic void setAssets(AssetConfiguration assets)
assets - the asset configpublic AssetConfiguration getAssets()
public String getDefaultName()
public void setDefaultName(String name)
name - the namepublic TrellisConfiguration setAdditionalConfig(String name, Object value)
name - the name of this config valuevalue - the value to setpublic void setCache(CacheConfiguration cache)
cache - the cache configurationpublic CacheConfiguration getCache()
public void setCors(CORSConfiguration cors)
cors - the CORS configurationpublic CORSConfiguration getCors()
public void setAuth(AuthConfiguration auth)
auth - the Auth configurationpublic AuthConfiguration getAuth()
public void setJsonld(JsonLdConfiguration jsonld)
jsonld - the jsond-ld configurationpublic JsonLdConfiguration getJsonld()
public void setNotifications(NotificationsConfiguration notifications)
notifications - the notifications configurationpublic NotificationsConfiguration getNotifications()