Class MatchesOperation
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.AbstractOperation
-
- org.eclipse.epsilon.eol.execute.operations.simple.SimpleOperation
-
- org.eclipse.epsilon.ecl.execute.operations.MatchesOperation
-
- Direct Known Subclasses:
DoMatchOperation
public class MatchesOperation extends SimpleOperation
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
forcedMatch
-
Constructor Summary
Constructors Constructor Description MatchesOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
execute(java.lang.Object source, java.util.List<?> parameters, IEolContext context_, ModuleElement ast)
protected boolean
matchCollectionOrdered(java.util.Collection<?> leftColFlat, java.util.Collection<?> rightColFlat, IEclContext context)
protected boolean
matchCollectionUnordered(java.util.Collection<?> leftColFlat, java.util.Collection<?> rightColFlat, IEclContext context)
protected boolean
matchInstances(java.lang.Object left, java.lang.Object right, IEclContext context)
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.simple.SimpleOperation
execute, getTolerateExceptionInParameter
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.AbstractOperation
isOverridable, toString
-
-
-
-
Method Detail
-
matchInstances
protected boolean matchInstances(java.lang.Object left, java.lang.Object right, IEclContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
matchCollectionOrdered
protected boolean matchCollectionOrdered(java.util.Collection<?> leftColFlat, java.util.Collection<?> rightColFlat, IEclContext context) throws EolRuntimeException
- Parameters:
leftColFlat
-rightColFlat
-context
-- Returns:
- Throws:
EolRuntimeException
- Since:
- 1.6
-
matchCollectionUnordered
protected boolean matchCollectionUnordered(java.util.Collection<?> leftColFlat, java.util.Collection<?> rightColFlat, IEclContext context) throws EolRuntimeException
- Parameters:
leftColFlat
-rightColFlat
-context
-- Returns:
- Throws:
EolRuntimeException
- Since:
- 1.6
-
execute
public java.lang.Boolean execute(java.lang.Object source, java.util.List<?> parameters, IEolContext context_, ModuleElement ast) throws EolRuntimeException
- Specified by:
execute
in classSimpleOperation
- Throws:
EolRuntimeException
-
-