Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.extension.rules.functions
Class ContextHasNode

java.lang.Object
  extended by oracle.ide.extension.rules.RuleFunction
      extended by oracle.ide.extension.rules.functions.ContextHasNode

public final class ContextHasNode
extends RuleFunction

Returns true if the given IDE Context contains a Node, and the Node matches the expected type. The node-class parameter is required, and the value is the fully qualified class name indicating the expected Node type.


Constructor Summary
ContextHasNode()
           
 
Method Summary
 boolean evaluate(RuleEvaluationContext ruleContext, java.util.Map<java.lang.String,RuleFunctionParameter> parameters)
           
 
Methods inherited from class oracle.ide.extension.rules.RuleFunction
getRequiredParameterOrThrow, matchesNameOfClassOrAncestor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextHasNode

public ContextHasNode()
Method Detail

evaluate

public boolean evaluate(RuleEvaluationContext ruleContext,
                        java.util.Map<java.lang.String,RuleFunctionParameter> parameters)
                 throws RuleEvaluationException
Specified by:
evaluate in class RuleFunction
Throws:
RuleEvaluationException

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.