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) |
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() |
ApplicationConfiguration |
proxied(boolean proxied)
Returns true if the application is behind a proxy.
|
boolean |
secure()
Returns true if the application is secure (accessible only in https).
|
ApplicationConfiguration |
secure(boolean value) |
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()
boolean secure()
ApplicationConfiguration proxied(boolean proxied)
String context()
boolean proxied()
ApplicationConfiguration context(String context)
context - the context pathApplicationConfiguration mode(Mode mode)
the - management modeApplicationConfiguration secure(boolean value)
String 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 descriptionSet<String> startTokens()
ApplicationConfiguration startTokens(Set<String> tokens)
scopes - the scopesPersistence persistence()
Set<Exclude> excludes()
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)
Copyright © 2016. All Rights Reserved.