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

E17493-01

oracle.ide
Interface Condition

All Known Subinterfaces:
ActionCondition
All Known Implementing Classes:
ContextPropertyCondition, InstanceOfCondition

public interface Condition

The condition interface defines the contract for all conditions.


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.
 

Method Detail

evaluate

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.

Parameters:
context - the current context
Returns:
true if the condition succeeds, false otherwise

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

E17493-01

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