public class PropertiesBasedConfigurationBuilder extends Object
org.jboss.testharness.impl.PropertiesBasedConfigurationBuilder and
org.jboss.testharness.properties.PropertiesManager.| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_BUNDLE |
| Constructor and Description |
|---|
PropertiesBasedConfigurationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> Class<T> |
getClassValue(String propertyName,
Class<T> expectedType,
boolean required) |
Configuration |
getConfiguration() |
protected <T> T |
getInstanceValue(String propertyName,
Class<T> expectedType,
boolean required) |
Set<String> |
getPropertyValues(String key)
Get a list of possible values for a given key.
|
Enumeration<URL> |
getResources(String name) |
String |
getStringValue(String propertyName,
String defaultValue,
boolean required) |
PropertiesBasedConfigurationBuilder |
init(boolean deploymentPhase) |
public static final String RESOURCE_BUNDLE
public Configuration getConfiguration()
public PropertiesBasedConfigurationBuilder init(boolean deploymentPhase)
deploymentPhase - Deployment phase (building test archive) initialization includes deployment specific propertiespublic Set<String> getPropertyValues(String key)
key - The key to search forpublic String getStringValue(String propertyName, String defaultValue, boolean required)
propertyName - defaultValue - required - public Enumeration<URL> getResources(String name) throws IOException
name - IOExceptionprotected <T> T getInstanceValue(String propertyName, Class<T> expectedType, boolean required)
T - propertyName - expectedType - required - Copyright © 2008-2013 Seam Framework. All Rights Reserved.