public interface ApplicationConfiguration
| Modifier and Type | Method and Description |
|---|---|
String |
context()
Returns the context path of the application
|
ApplicationConfiguration |
context(String context)
Sets the context path of the application
|
String |
description()
Returns the description of the application.
|
ApplicationConfiguration |
description(String description)
Sets the description of the application.
|
Set<Exclude> |
excludes()
Returns a set of request paths that should not be subjected to request management.
|
ApplicationConfiguration |
excludes(Exclude... excludes) |
Set<Include> |
includes()
Returns a set of request paths that should be subjected to request management.
|
ApplicationConfiguration |
includes(Include... includes) |
void |
merge(ApplicationConfiguration config)
Merges this configuration with another configuration
|
Mode |
mode()
Returns the management mode of the application.
|
ApplicationConfiguration |
mode(Mode mode)
Sets the management mode of this application.
|
String |
name()
Returns the name of the application.
|
ApplicationConfiguration |
name(String name)
Sets the name of the application.
|
Persistence |
persistence()
Returns the persistence manager of the application.
|
ApplicationConfiguration |
persistence(Persistence manager)
Sets the persistence manager of the application.
|
boolean |
proxied() |
ProxyAddress |
proxyAddress() |
ApplicationConfiguration |
proxyAddress(ProxyAddress proxyaddress) |
String |
serviceClass()
Returns the class of the application
|
ApplicationConfiguration |
serviceClass(String serviceClass)
Sets the class of the application.
|
Set<String> |
startTokens()
Returns the tokens in which the application operates when it first starts.
|
ApplicationConfiguration |
startTokens(Set<String> tokens)
Sets the tokens in which the application operates when it first starts.
|
void |
validate()
Validates this configuration.
|
String |
version()
Returns the version of the application.
|
ApplicationConfiguration |
version(String version)
Sets the version of the application.
|
Mode mode()
String context()
boolean proxied()
ApplicationConfiguration context(String context)
context - the context pathApplicationConfiguration mode(Mode mode)
the - management modeString name()
ApplicationConfiguration name(String name)
name - the nameString serviceClass()
ApplicationConfiguration serviceClass(String serviceClass)
serviceClass - the classString version()
ApplicationConfiguration version(String version)
version - the versionString description()
ApplicationConfiguration description(String description)
description - the descriptionProxyAddress proxyAddress()
ApplicationConfiguration proxyAddress(ProxyAddress proxyaddress)
Set<String> startTokens()
ApplicationConfiguration startTokens(Set<String> tokens)
scopes - the scopesPersistence persistence()
Set<Exclude> excludes()
Set<Include> includes()
ApplicationConfiguration persistence(Persistence manager)
manager - the managervoid validate()
IllegalStateException - if the configuration is not validvoid merge(ApplicationConfiguration config)
config - the other configurationApplicationConfiguration excludes(Exclude... excludes)
ApplicationConfiguration includes(Include... includes)
Copyright © 2019. All Rights Reserved.