Siena (v.1.5.5) API documentation

siena
Class Pattern

java.lang.Object
  extended by siena.Pattern

public class Pattern
extends java.lang.Object

a selection for a sequence of Notifications. A Pattern is a sequence of Filters, matched by a sequence of notifications, each one matching the corresponding filter in the Pattern.

For example a pattern [file = "hosts"]; [file = "passwd"] is matched by two events e1 and e2 such that e1 matches filter [file = "hosts"], and e1 is followed by e2, and e2 matches filter [file = "passwd"].

See Also:
AttributeConstraint, Filter, Notification

Field Summary
 Filter[] filters
           
 
Constructor Summary
Pattern(Filter[] p)
          creates a pattern with the given array of filters.
Pattern(Pattern p)
          creates a (deep) copy of a given pattern.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filters

public Filter[] filters
Constructor Detail

Pattern

public Pattern(Filter[] p)
creates a pattern with the given array of filters.


Pattern

public Pattern(Pattern p)
creates a (deep) copy of a given pattern.


Siena (v.1.5.5) API documentation

Copyright © 2000-2005 University of Colorado.
Copyright © 2005-2008 Antonio Carzaniga.
This documentation is maintained by Antonio Carzaniga