|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object help.de.smartics.properties.core.PropertiesContextBuilder
public final class PropertiesContextBuilder
Builds instances of PropertiesContext
s for tests.
Field Summary | |
---|---|
static String |
DEFAULT_HOME_PAGE_URL |
static String |
DEFAULT_PROPERTIES_REPORT_URL |
static String |
DEFAULT_PROPERTY_REPORT_URL |
static String |
DEFAULT_PROPERTY_REPORT_URL_DE |
static String |
DEFAULT_PROPERTY_REPORT_URL_EN |
Method Summary | |
---|---|
static PropertiesContextBuilder |
a() Creates a builder filled with default values. |
PropertiesContext |
build() Creates the instance. |
PropertiesContextBuilder |
but() Clones the builder. |
static PropertiesContext |
defaultPropertiesContext() Creates a default instance filled with default values. |
PropertiesContext.Builder |
withAlias(String alias, String physical) |
PropertiesContext.Builder |
withHomePageUrl(String homePageUrl) |
PropertiesContext.Builder |
withLocales(List<Locale> locales) |
PropertiesContext.Builder |
withPropertiesReportUrl(String propertiesReportUrl) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_HOME_PAGE_URL
"http://www.example.com/test"
public static final String DEFAULT_PROPERTIES_REPORT_URL
"http://www.example.com/test/property-report"
public static final String DEFAULT_PROPERTY_REPORT_URL
"http://www.example.com/test/test.property.set.testName.html"
public static final String DEFAULT_PROPERTY_REPORT_URL_EN
"http://www.example.com/test/test.property.set.testName_en.html"
public static final String DEFAULT_PROPERTY_REPORT_URL_DE
"http://www.example.com/test/test.property.set.testName_de.html"
Method Detail |
---|
public PropertiesContext.Builder withLocales(List<Locale> locales) throws NullPointerException
NullPointerException
public PropertiesContext.Builder withHomePageUrl(String homePageUrl) throws de.smartics.util.lang.BlankArgumentException
de.smartics.util.lang.BlankArgumentException
public PropertiesContext.Builder withPropertiesReportUrl(String propertiesReportUrl) throws de.smartics.util.lang.BlankArgumentException
de.smartics.util.lang.BlankArgumentException
public PropertiesContext.Builder withAlias(String alias, String physical) throws de.smartics.util.lang.BlankArgumentException, DuplicateAliasException
de.smartics.util.lang.BlankArgumentException
DuplicateAliasException
public static PropertiesContext defaultPropertiesContext()
a()
public static PropertiesContextBuilder a()
DEFAULT_HOME_PAGE_URL
,
DEFAULT_PROPERTIES_REPORT_URL
public PropertiesContextBuilder but()
public PropertiesContext build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |