|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.core.context.MandatoryPropertyContext
public final class MandatoryPropertyContext
Provides context information for a given property.
The implementation guarantees that a context is present.
Constructor Summary | |
---|---|
MandatoryPropertyContext(PropertiesContext propertiesContext, PropertyDescriptor descriptor) Default constructor. |
Method Summary | |
---|---|
String |
getHomePageUrl() Returns the URL to the home page of the project. |
String |
getHomePageUrl(Locale locale) Returns the URL to the home page of the project in the given locale. |
PropertiesContext |
getPropertiesContext() Returns the context of the properties. |
String |
getPropertiesReportIndexUrl() Returns the URL to the index document of properties reports. |
String |
getPropertiesReportIndexUrl(Locale locale) Returns the URL to the index document of properties reports. |
String |
getPropertiesReportUrl() Returns the URL to the root directory of properties reports. |
String |
getPropertiesReportUrl(Locale locale) Returns the URL to the root directory of properties reports. |
String |
getPropertyReportUrl() Returns the URL to the report documentation for the given descriptor. |
String |
getPropertyReportUrl(Locale locale) Returns the URL to the report documentation for the given descriptor. |
List<Locale> |
getSupportedLocales() Returns the list of supported locales. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MandatoryPropertyContext(PropertiesContext propertiesContext, PropertyDescriptor descriptor) throws de.smartics.util.lang.NullArgumentException
propertiesContext
- the context of the properties.
descriptor
- the descriptor of the property.
de.smartics.util.lang.NullArgumentException
- if either
propertiesContext
or
descriptor
is
null
.
Method Detail |
---|
public PropertiesContext getPropertiesContext()
PropertyContext
getPropertiesContext
in interface
PropertyContext
public String getHomePageUrl()
PropertyContext
getHomePageUrl
in interface
PropertyContext
public String getHomePageUrl(Locale locale)
PropertyContext
getHomePageUrl
in interface
PropertyContext
locale
- the identifier of the requested localized resource.
public String getPropertiesReportIndexUrl()
PropertyContext
getPropertiesReportIndexUrl
in interface
PropertyContext
public String getPropertiesReportIndexUrl(Locale locale)
PropertyContext
getPropertiesReportIndexUrl
in interface
PropertyContext
locale
- the identifier of the requested localized resource.
public String getPropertiesReportUrl()
PropertyContext
getPropertiesReportUrl
in interface
PropertyContext
public String getPropertiesReportUrl(Locale locale)
PropertyContext
getPropertiesReportUrl
in interface
PropertyContext
locale
- the identifier of the requested localized resource.
public String getPropertyReportUrl()
PropertyContext
getPropertyReportUrl
in interface
PropertyContext
public String getPropertyReportUrl(Locale locale)
PropertyContext
getPropertyReportUrl
in interface
PropertyContext
locale
- the identifier of the requested localized resource.
public List<Locale> getSupportedLocales()
PropertyContext
getSupportedLocales
in interface
PropertyContext
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |