public class FilePropertyTester
extends org.eclipse.core.expressions.PropertyTester
Constructor and Description |
---|
FilePropertyTester() |
Modifier and Type | Method and Description |
---|---|
boolean |
test(java.lang.Object receiver,
java.lang.String property,
java.lang.Object[] args,
java.lang.Object expectedValue) |
protected boolean |
testInScope(org.eclipse.core.resources.IFile receiver,
boolean inScope) |
protected boolean |
testMetamodelId(org.eclipse.core.resources.IFile receiver,
java.lang.String metaModelIdPattern) |
protected boolean |
toBoolean(java.lang.Object expectedValue)
Converts the given expected value to a boolean.
|
protected java.lang.String |
toString(java.lang.Object expectedValue)
Converts the given expected value to a
String . |
public boolean test(java.lang.Object receiver, java.lang.String property, java.lang.Object[] args, java.lang.Object expectedValue)
protected boolean testInScope(org.eclipse.core.resources.IFile receiver, boolean inScope)
protected boolean testMetamodelId(org.eclipse.core.resources.IFile receiver, java.lang.String metaModelIdPattern)
protected boolean toBoolean(java.lang.Object expectedValue)
expectedValue
- the expected value (may be null
).false
if the expected value equals Boolean.FALSE, true
otherwiseprotected java.lang.String toString(java.lang.Object expectedValue)
String
.expectedValue
- the expected value (may be null
).null
, otherwise the toString()
representation of the expected value