oracle.ide.extension.rules.functions
Class ProjectHasContent
java.lang.Object
   oracle.ide.extension.rules.RuleFunction
oracle.ide.extension.rules.RuleFunction
       oracle.ide.extension.rules.functions.ProjectHasContent
oracle.ide.extension.rules.functions.ProjectHasContent
- public final class ProjectHasContent 
- extends RuleFunction
This rule implementation returns true from evaluate(oracle.ide.extension.rules.RuleEvaluationContext, java.util.Map) if the
 given Context contains a Project and that Project has at least one
 file in the content set referenced by the rule parameter,
 . The rule parameter is required,
 and the value is the key that identifies a content set.
 Note: If the content set key parameter does not match a
 registered content set provider, this rule will throw an exception
 from evaluate(oracle.ide.extension.rules.RuleEvaluationContext, java.util.Map).
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ProjectHasContent
public ProjectHasContent()
evaluate
public boolean evaluate(RuleEvaluationContext ruleContext,
                        java.util.Map<java.lang.String,RuleFunctionParameter> parameters)
                 throws RuleEvaluationException
- 
- Specified by:
- evaluatein class- RuleFunction
 
- 
- Throws:
- RuleEvaluationException- If the content set key parameter 
 does not match a registered content set provider
 
Copyright © 1997, 2013, Oracle. All rights reserved.