A C D E G I N O P R S T U

A

Action - interface policyMgmt.Action.
Interface for a policy rule action.
addAction(Action) - Method in class policyMgmt.Rule
Add a new Action to this Rule.
addCondition(Condition) - Method in class policyMgmt.Rule
Add a new Condition to this Rule.
addDate(Date) - Method in class policyMgmt.CalendarTimer
Add a trigger Date.
addFreeIdent(String, String) - Method in class policyMgmt.Rule
Declare a given new name as a free Element identifier of an Element of a given class name.
addLevel(String) - Static method in class policyMgmt.Debug
Add a level (specified by a tag string) to be printed.
AlwaysCondition - class policyMgmt.AlwaysCondition.
Simple Condition that is always true.
AlwaysCondition() - Constructor for class policyMgmt.AlwaysCondition
 

C

CalendarTimer - class policyMgmt.CalendarTimer.
This is an EventGenerator for TimeEvents that are sent on specific dates.
CalendarTimer(Policy) - Constructor for class policyMgmt.CalendarTimer
Constructs a CalendarTimer.
CalendarTimer(Policy, Date) - Constructor for class policyMgmt.CalendarTimer
Constructs a CalendarTimer and adds a given date to trigger.
clearDate(Date) - Method in class policyMgmt.CalendarTimer
Remove a Date.
commit() - Method in class policyMgmt.Element
Commit the configuration of this Element by writing it back to the underlying device using the element's driver
commitElement(Element) - Method in interface policyMgmt.Driver
Commit the configuration of a given Element to the underlying device.
compareTo(long) - Method in class policyMgmt.Counter64
Compare this counter to a long value.
Condition - interface policyMgmt.Condition.
Interface for conditions used in rules.
Counter64 - class policyMgmt.Counter64.
64bit Counter.
Counter64() - Constructor for class policyMgmt.Counter64
 

D

Debug - class policyMgmt.Debug.
Debugging utility for the policyMgmt package
Debug() - Constructor for class policyMgmt.Debug
 
doActions(Event, Hashtable) - Method in class policyMgmt.Rule
Execute all Actions of this Rule.
Driver - interface policyMgmt.Driver.
Interface for the driver object that supplies technology specific functionality.

E

Element - class policyMgmt.Element.
This is the base class of all elements.
Element() - Constructor for class policyMgmt.Element
Create an Element.
Element(Driver) - Constructor for class policyMgmt.Element
Create an Element and assign the Driver that will be used for it
elements() - Method in interface policyMgmt.Driver
Return en Enumeration of all current Elements handled by this Driver.
evaluate(Event, Hashtable) - Method in class policyMgmt.AlwaysCondition
This Condition evaluates always to true.
evaluate(Event, Hashtable) - Method in interface policyMgmt.Condition
This is the condition's main method.
evaluate(Event, Hashtable) - Method in class policyMgmt.IsRepeated
The main Condition's method to evaluate.
Event - class policyMgmt.Event.
Base class for all Events of the policyMgmt package.
Event(Object) - Constructor for class policyMgmt.Event
Create a new Event.
EventGenerator - interface policyMgmt.EventGenerator.
Interface for Event generating objects.
expire(Date) - Method in class policyMgmt.CalendarTimer
Remove passed Date.

G

getFirst() - Method in class policyMgmt.CalendarTimer
Retrieve the next upcoming scheduled Date
getFreeIdents() - Method in class policyMgmt.AlwaysCondition
This Condition always has an empty hashtable of elements.
getFreeIdents() - Method in interface policyMgmt.Condition
Return a Hashtable of element identifiers.
getFreeIdents() - Method in class policyMgmt.IsRepeated
Return a Hashtable of element identifiers of the underlying Condition.
getFreeIdents() - Method in class policyMgmt.Rule
Return a Hashtable of the declared free Element identifiers.
getLowDelta() - Method in class policyMgmt.Counter64
Return a 63-bit representation of the current delta.
getLowValue() - Method in class policyMgmt.Counter64
Return a 63-bit representation of the current value.
getNext(Date) - Method in class policyMgmt.CalendarTimer
Retrieve the next scheduled Date after a given reference Date.
getPriority() - Method in class policyMgmt.Rule
Return the priority of this rule.
getRole() - Method in class policyMgmt.Element
Return the role-string of the element
getRole() - Method in class policyMgmt.Event
Return the role-string of the event.
getRule() - Method in class policyMgmt.RuleEntry
Get the entry's Rule.
getRules() - Method in class policyMgmt.Policy
Return an Enumeration of all the Rules in this Policy.
getTime() - Method in class policyMgmt.TimeEvent
Retrieve the Event's raising timestamp.
getTrigger() - Method in class policyMgmt.Event
Return the Object that triggerd this Eventm usually an EventGenerator or an Element.
getTrigger() - Method in class policyMgmt.Rule
Return the trigger for this Rule
getTrigger() - Method in class policyMgmt.RuleEntry
Get the entry's triggering Object.

I

increment(long) - Method in class policyMgmt.Counter64
Add delta to the current state of the object.
isConditions(Event, Hashtable) - Method in class policyMgmt.Rule
Return true, if all Conditions are true.
isEmpty() - Method in class policyMgmt.CalendarTimer
Check whether the queue of scheduled upcoming Events is empty.
IsRepeated - class policyMgmt.IsRepeated.
A Condition wrapper Condition.
IsRepeated(Condition, int) - Constructor for class policyMgmt.IsRepeated
Construct a new IsRepeated Condition.

N

newEvent(Event) - Method in class policyMgmt.Policy
Notify this Policy that an Event was raised.

O

obj(String, Object) - Static method in class policyMgmt.Debug
Submit an object to be printed as a debug message at a given level.
obj(String, String, Object) - Static method in class policyMgmt.Debug
Submit an object to be printed as a debug message at a given level and prefixed with a given tag.

P

perform(Event, Hashtable) - Method in interface policyMgmt.Action
The main method that contains the action code.
Policy - class policyMgmt.Policy.
Base class for Policies.
Policy() - Constructor for class policyMgmt.Policy
Construct a Policy.
Policy(String[]) - Constructor for class policyMgmt.Policy
Construct a Policy.
process(Event) - Method in class policyMgmt.Policy
Evaluate all rules of this Policy upon a given Event.

R

registerDriver(Driver) - Method in class policyMgmt.Policy
Register a Driver for this Policy.
registerRule(Object, Rule) - Method in class policyMgmt.Policy
Register a Rule and associate it to an Event, upon which the evaluation of this Rule is enforced.
remove() - Method in class policyMgmt.Element
Remove this Element from the underlying device
removeElement(Element) - Method in interface policyMgmt.Driver
Remove a given Element from the configuration of the underlying device.
Rule - class policyMgmt.Rule.
Base class for Rules.
Rule() - Constructor for class policyMgmt.Rule
Create a Rule with default priority of 0.
Rule(int) - Constructor for class policyMgmt.Rule
Create a Rule with a given priority.
RuleEntry - class policyMgmt.RuleEntry.
A rule entry within a Policy.
RuleEntry(Object, Rule) - Constructor for class policyMgmt.RuleEntry
Construct a RuleEntry with a given triggering Object and Rule.
run() - Method in class policyMgmt.CalendarTimer
The main loop of the CalendarTimer Thread.
run() - Method in class policyMgmt.Policy
Main loop of the policy.

S

setRole(String) - Method in class policyMgmt.Element
Set a role-string for this element
setRole(String) - Method in class policyMgmt.Event
Set a role-string for this event.
setTrigger(Object) - Method in class policyMgmt.Rule
Set the trigger for this Rule
str(String, String) - Static method in class policyMgmt.Debug
Submit a debug message at a given level

T

TimeEvent - class policyMgmt.TimeEvent.
Time Event.
TimeEvent(Date, Object) - Constructor for class policyMgmt.TimeEvent
Create (raise) a TimeEvent with a forced raising timestamp.
TimeEvent(Object) - Constructor for class policyMgmt.TimeEvent
Create (raise) a TimeEvent.
toString() - Method in class policyMgmt.TimeEvent
Retrieve a printable String representation of this TimeEvent.

U

upate(long) - Method in class policyMgmt.Counter64
Set the counter to the new value without touching delta information.

A C D E G I N O P R S T U