|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationProperties
Component for looking up application properties specific to their web interface
| Method Summary | |
|---|---|
String |
getBaseUrl()
Deprecated. since 2.10. This implementation is application-specific, and unreliable for a cross product plugin. Use getBaseUrl(UrlMode) instead. |
String |
getBaseUrl(UrlMode urlMode)
Get the base URL of the current application, with respect to the given UrlMode. |
Date |
getBuildDate()
|
String |
getBuildNumber()
|
String |
getDisplayName()
|
File |
getHomeDirectory()
|
String |
getPropertyValue(String key)
Deprecated. As of SAL 2.7. |
String |
getVersion()
|
| Method Detail |
|---|
@Deprecated String getBaseUrl()
getBaseUrl(UrlMode) instead.
String getBaseUrl(UrlMode urlMode)
UrlMode. This varies as follows:
UrlMode.CANONICAL return the configured base URL.UrlMode.ABSOLUTE return either the base URL of a request in the current scope, or the
configured base URL if there is no such request.UrlMode.RELATIVE return either the context path of a request in the current scope, or the
configured context path if there is no such request.UrlMode.RELATIVE_CANONICAL return the configured context path.UrlMode.AUTO return either a relative URL if there is a request in the current scope, or the
canonical URL if there is no such request.
urlMode - the UrlMode to use.
String getDisplayName()
String getVersion()
Date getBuildDate()
String getBuildNumber()
Long.parseLong(String)File getHomeDirectory()
@Deprecated String getPropertyValue(String key)
key - The Key of the property to retrieve.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||