/** * @deprecated For use by the validation framework only. * * Returns a Vector of all ValidatorMetaData who are both configured on this type of project, * and who are also enabled by this project. If the list of enabled validators hasn't been * loaded into the cache, load it now. Otherwise, just return it. */ public Set getProjectEnabledValidators(IProject project) { return getEnabledValidators(project); }
/** * Run all enabled validators on the project with the identified ruleGroup. * * IProject must exist and be open. * * If async is true, the validation will run all validators implementing IValidatorJob interface * in the background validation thread, if async is false, it would run in the main thread. * All validators implementing IValidator interface will run in in the main thread regardless of this flag. */ public EnabledValidatorsOperation(IProject project, IWorkbenchContext aWorkbenchContext, int ruleGroup, boolean force, boolean async) { this(project, aWorkbenchContext, ValidatorManager.getManager().getEnabledValidators(project), ruleGroup, force, async); }
/** * Run all enabled validators on the project with the identified ruleGroup. * * IProject must exist and be open. * * If async is true, the validation will run all validators implementing IValidatorJob interface * in the background validation thread, if async is false, it would run in the main thread. * All validators implementing IValidator interface will run in in the main thread regardless of this flag. */ public EnabledValidatorsOperation(IProject project, int ruleGroup, boolean force, boolean async) { this(project, ValidatorManager.getManager().getEnabledValidators(project), ruleGroup, force, async); }