Package com.iizigo
Class ResourceTester
- java.lang.Object
- org.eclipse.core.expressions.PropertyTester
- com.iizigo.ResourceTester
- All Implemented Interfaces:
org.eclipse.core.expressions.IPropertyTester
public class ResourceTester extends org.eclipse.core.expressions.PropertyTesterResource tester for IIZI Module project, and others.The following list of properties can be tested for:
- module - The Module model folder or the project folder.
- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description ResourceTester()Eclipse constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleantest(java.lang.Object receiver, java.lang.String property, java.lang.Object[] args, java.lang.Object expectedValue)Executes the property test determined by the parameterproperty.
Method Detail
test
public boolean test(java.lang.Object receiver, java.lang.String property, java.lang.Object[] args, java.lang.Object expectedValue)Executes the property test determined by the parameterproperty.- Parameters:
receiver- the receiver of the property test.property- the property to test.args- additional arguments to evaluate the property. If no arguments are specified in thetestexpression an array of length 0 is passed.expectedValue- the expected value of the property. The value is either of typejava.lang.Stringor a boxed base type. If no value was specified in thetestexpressions thennullis passed.- Returns:
trueif the property is equal to the expected value; otherwisefalseis returned.