Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.ide.condition
Class ContextPropertyCondition

java.lang.Object
  extended by oracle.ide.condition.ContextPropertyCondition
All Implemented Interfaces:
Condition

public class ContextPropertyCondition
extends java.lang.Object
implements Condition

Evaluates if the context has a certain property.

Since:
11/20/2007

Constructor Summary
ContextPropertyCondition()
           
 
Method Summary
 boolean evaluate(Context context)
          Evaluates the condition.
Must return true if the value must change, in that case no further conditions (if any) will be evaluated, return false otherwise, thus giving the opportunity for other conditions to be tested.
 void setKey(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextPropertyCondition

public ContextPropertyCondition()
Method Detail

evaluate

public boolean evaluate(Context context)
Description copied from interface: Condition
Evaluates the condition.
Must return true if the value must change, in that case no further conditions (if any) will be evaluated, return false otherwise, thus giving the opportunity for other conditions to be tested.

Specified by:
evaluate in interface Condition
Parameters:
context - the current context
Returns:
true if the condition succeeds, false otherwise

setKey

public void setKey(java.lang.String key)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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