public interface ApplicationConfiguration
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Returns the description of the application.
|
ApplicationConfiguration |
description(String description)
Sets the description of the application.
|
Set<String> |
excludes()
Returns a set of request paths that should not be subjected to request management.
|
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.
|
String |
serviceClass()
Returns the class of the application
|
ApplicationConfiguration |
serviceClass(String serviceClass)
Sets the class of the application.
|
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()
ApplicationConfiguration 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 descriptionPersistence persistence()
Set<String> excludes()
ApplicationConfiguration persistence(Persistence manager)
manager - the managervoid validate()
IllegalStateException - if the configuration is not validCopyright © 2014. All Rights Reserved.