Package com.iizigo

Class ResourceTester

  • All Implemented Interfaces:
    org.eclipse.core.expressions.IPropertyTester

    public class ResourceTester
    extends org.eclipse.core.expressions.PropertyTester
    Resource 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 
      ConstructorDescription
      ResourceTester()
      Eclipse constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleantest​(java.lang.Object receiver, java.lang.String property, java.lang.Object[] args, java.lang.Object expectedValue)
      Executes the property test determined by the parameter property.
      • Methods inherited from class org.eclipse.core.expressions.PropertyTester

        handles, instantiate, internalCreateDescriptor, internalInitialize, isDeclaringPluginActive, isInstantiated
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceTester

        public ResourceTester()
        Eclipse constructor.
    • 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 parameter property.
        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 the test expression an array of length 0 is passed.
        expectedValue - the expected value of the property. The value is either of type java.lang.String or a boxed base type. If no value was specified in the test expressions then null is passed.
        Returns:
        true if the property is equal to the expected value; otherwise false is returned.