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