siena
Class Pattern
java.lang.Object
siena.Pattern
public class Pattern
- extends java.lang.Object
a selection for a sequence of Notification
s.
A Pattern
is a sequence of Filter
s,
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
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filters
public Filter[] filters
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.
Copyright © 2000-2005 University of Colorado.
Copyright © 2005-2008 Antonio Carzaniga.
This documentation is maintained by Antonio Carzaniga