org.eclipse.net4j.util.properties
Class DefaultPropertyTester<RECEIVER>
java.lang.Object
org.eclipse.core.expressions.PropertyTester
org.eclipse.net4j.util.properties.DefaultPropertyTester<RECEIVER>
- All Implemented Interfaces:
- IPropertyTester, IProperties<RECEIVER>, IPropertyProvider<RECEIVER>
- public class DefaultPropertyTester<RECEIVER>
- extends PropertyTester
- implements IProperties<RECEIVER>
Tests properties of receiver objects against expected values.
- Since:
- 3.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPropertyTester
public DefaultPropertyTester(String namespace,
IProperties<RECEIVER> properties)
getNamespace
public final String getNamespace()
getReceiverType
public Class<RECEIVER> getReceiverType()
- Specified by:
getReceiverType
in interface IProperties<RECEIVER>
getProperty
public Property<RECEIVER> getProperty(String name)
- Specified by:
getProperty
in interface IProperties<RECEIVER>
getProperties
public List<Property<RECEIVER>> getProperties()
- Specified by:
getProperties
in interface IPropertyProvider<RECEIVER>
add
public void add(Property<RECEIVER> property)
- Specified by:
add
in interface IProperties<RECEIVER>
test
public boolean test(Object receiver,
String propertyName,
Object[] args,
Object expectedValue)
- Specified by:
test
in interface IPropertyTester
dumpContributionMarkup
public void dumpContributionMarkup()
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.