public final class ReflectionConditionFactory extends Object implements ConditionFactory
| Constructor and Description |
|---|
ReflectionConditionFactory() |
| Modifier and Type | Method and Description |
|---|---|
Condition<ExperimentState> |
create(String name)
Creates a new
Condition instance that is associated with the given name. |
ReflectionConditionFactory |
register(String name,
Class<? extends Condition<ExperimentState>> clazz) |
Set<String> |
supportedNames()
Returns the set of names that have been associated with subclasses of the
Condition
interface in this instance. |
public ReflectionConditionFactory register(String name, Class<? extends Condition<ExperimentState>> clazz)
public Set<String> supportedNames()
ConditionFactoryCondition
interface in this instance.supportedNames in interface ConditionFactoryConditionFactory.create(java.lang.String) methodpublic Condition<ExperimentState> create(String name)
ConditionFactoryCondition instance that is associated with the given name.create in interface ConditionFactoryname - a short name used to describe the Condition instance to createCondition instance, or null if the name is unknownCopyright © 2013. All rights reserved.