org.eclipse.xtend.check
Class CheckFacade

java.lang.Object
  extended by org.eclipse.xtend.check.CheckFacade

public class CheckFacade
extends java.lang.Object


Constructor Summary
CheckFacade()
           
 
Method Summary
static void checkAll(java.lang.String checkFile, java.util.Collection<?> toCheck, ExecutionContext ctx, org.eclipse.emf.mwe.core.issues.Issues issues)
          Invokes Check validation on a set of objects.
static void checkAll(java.lang.String checkFile, java.util.Collection<?> toCheck, ExecutionContext ctx, org.eclipse.emf.mwe.core.issues.Issues issues, boolean warnIfNothingChecked)
          Invokes Check validation on a set of objects.
static void checkAll(java.lang.String checkFile, java.io.InputStream in, java.util.Collection<?> toCheck, ExecutionContext ctx, org.eclipse.emf.mwe.core.issues.Issues issues)
          Invokes Check validation on a set of objects.
static void checkAll(java.lang.String checkFile, java.io.InputStream in, java.util.Collection<?> toCheck, ExecutionContext ctx, org.eclipse.emf.mwe.core.issues.Issues issues, boolean warnIfNothingChecked)
          Invokes Check validation on a set of objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckFacade

public CheckFacade()
Method Detail

checkAll

public static final void checkAll(java.lang.String checkFile,
                                  java.util.Collection<?> toCheck,
                                  ExecutionContext ctx,
                                  org.eclipse.emf.mwe.core.issues.Issues issues)
Invokes Check validation on a set of objects.

Parameters:
checkFile - Qualified name of the check file (qualified with '::')
toCheck - A collection of objects to perform the validation on
ctx - Execution context to use for evaluating the Check rules
issues - Issues instance to collect detected problems in

checkAll

public static final void checkAll(java.lang.String checkFile,
                                  java.io.InputStream in,
                                  java.util.Collection<?> toCheck,
                                  ExecutionContext ctx,
                                  org.eclipse.emf.mwe.core.issues.Issues issues)
Invokes Check validation on a set of objects.

Parameters:
checkFile - Qualified name of the check file (qualified with '::')
in - The InputStream to use to load checkFile
toCheck - A collection of objects to perform the validation on
ctx - Execution context to use for evaluating the Check rules
issues - Issues instance to collect detected problems in

checkAll

public static final void checkAll(java.lang.String checkFile,
                                  java.io.InputStream in,
                                  java.util.Collection<?> toCheck,
                                  ExecutionContext ctx,
                                  org.eclipse.emf.mwe.core.issues.Issues issues,
                                  boolean warnIfNothingChecked)
Invokes Check validation on a set of objects.

Parameters:
checkFile - Qualified name of the check file (qualified with '::')
in - The InputStream to use to load checkFile
toCheck - A collection of objects to perform the validation on
ctx - Execution context to use for evaluating the Check rules
issues - Issues instance to collect detected problems in
warnIfNothingChecked - When set a warning will be raised if no validation rule was executed

checkAll

public static final void checkAll(java.lang.String checkFile,
                                  java.util.Collection<?> toCheck,
                                  ExecutionContext ctx,
                                  org.eclipse.emf.mwe.core.issues.Issues issues,
                                  boolean warnIfNothingChecked)
Invokes Check validation on a set of objects.

Parameters:
checkFile - Qualified name of the check file (qualified with '::')
toCheck - A collection of objects to perform the validation on
ctx - Execution context to use for evaluating the Check rules
issues - Issues instance to collect detected problems in
warnIfNothingChecked - When set a warning will be raised if no validation rule was executed