org.osgi.service.condpermadmin.BooleanCondition Class Reference

Inheritance diagram for org.osgi.service.condpermadmin.BooleanCondition:

org.osgi.service.condpermadmin.Condition

List of all members.


Detailed Description

Package internal class used to define the Condition#FALSE and Condition#TRUE constants.

Definition at line 100 of file Condition.java.


Public Member Functions

boolean isPostponed ()
 Returns whether the evaluation must be postponed until the end of the permission check.
boolean isSatisfied ()
 Returns whether the Condition is satisfied.
boolean isMutable ()
 Returns whether the Condition is mutable.

Member Function Documentation

boolean org.osgi.service.condpermadmin.BooleanCondition.isPostponed (  ) 

Returns whether the evaluation must be postponed until the end of the permission check.

This method returns true if the evaluation of the Condition must be postponed until the end of the permission check. If this method returns false, this Condition must be able to directly answer the isSatisfied() method. In other words, isSatisfied() will return very quickly since no external sources, such as for example users, need to be consulted.

Returns:
true to indicate the evaluation must be postponed. Otherwise, false if the evaluation can be immediately performed.

Implements org.osgi.service.condpermadmin.Condition.

Definition at line 107 of file Condition.java.

boolean org.osgi.service.condpermadmin.BooleanCondition.isSatisfied (  ) 

Returns whether the Condition is satisfied.

Returns:
true to indicate the Conditions is satisfied. Otherwise, false if the Condition is not satisfied.

Implements org.osgi.service.condpermadmin.Condition.

Definition at line 111 of file Condition.java.

boolean org.osgi.service.condpermadmin.BooleanCondition.isMutable (  ) 

Returns whether the Condition is mutable.

Returns:
true to indicate the value returned by isSatisfied() can change. Otherwise, false if the value returned by isSatisfied() will not change.

Implements org.osgi.service.condpermadmin.Condition.

Definition at line 115 of file Condition.java.


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:24 2010 for OpenMobileIS by  doxygen 1.5.4