Performing an action in response to a file system event
First Claim
1. A method of performing an action in response to a file system event, the method comprising:
- in response to user input, storing (a) data that defines a specified condition and (b) data that associates the specified condition with the file system event;
detecting that the file system event has occurred or is going to occur relative to a node within a file system; and
in response to detecting that the file system event has occurred or is going to occur relative to the node, performing steps comprising;
determining whether any condition is associated with the file system event;
in response to determining that the specified condition is associated with the file system event, reading the data that defines the specified condition;
based on the data that defines the specified condition, determining whether the specified condition is satisfied;
in response to determining that the specified condition is satisfied, performing a specified action; and
in response to determining that the specified condition is not satisfied, refraining from performing the specified action.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for performing an action in response to a file system event is provided. According to one aspect, sets of “event listeners” are associated with a file hierarchy and/or the nodes thereof. Each event listener contains a set of “event handlers.” Each event handler corresponds to a separate type of event that may occur relative to the file hierarchy'"'"'s nodes. When an event is going to occur relative to the hierarchy or a node thereof, all event listeners that are associated with that hierarchy/node are inspected to determine whether those event listeners contain any event handlers that correspond to the event'"'"'s type. Those event handlers that correspond to the event'"'"'s type are placed in an ordered list of event handlers to be invoked. As the event handlers in the list are invoked, programmatic mechanisms that correspond to those event handlers are executed to perform customized user-specified actions.
240 Citations
54 Claims
-
1. A method of performing an action in response to a file system event, the method comprising:
-
in response to user input, storing (a) data that defines a specified condition and (b) data that associates the specified condition with the file system event;
detecting that the file system event has occurred or is going to occur relative to a node within a file system; and
in response to detecting that the file system event has occurred or is going to occur relative to the node, performing steps comprising;
determining whether any condition is associated with the file system event;
in response to determining that the specified condition is associated with the file system event, reading the data that defines the specified condition;
based on the data that defines the specified condition, determining whether the specified condition is satisfied;
in response to determining that the specified condition is satisfied, performing a specified action; and
in response to determining that the specified condition is not satisfied, refraining from performing the specified action. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 28, 29, 30, 31, 32, 33, 34, 35)
-
-
9. A method of performing an action in response to a file system event, the method comprising:
-
detecting that the file system event is going to occur relative to a node within a file system; and
in response to detecting that the file system event is going to occur relative to the node, performing a first specified action prior to the occurrence of the file system event. - View Dependent Claims (10, 11, 12, 13, 14, 36, 37, 38, 39, 40, 41)
-
-
15. A method of performing an action in response to a file system event, the method comprising:
-
determining whether a first set of specified events contains a particular event that has occurred or is going to occur relative to a node within a file system;
determining whether a second set of specified events contains the particular event, wherein the second set of specified events is located after the first set of specified events in an ordered list of sets of specified events;
in response to determining that the first set of specified events contains the particular event, performing a first specified action; and
in response to determining that the second set of specified events contains the particular event, performing a second specified action after the performing of the first specified action. - View Dependent Claims (16, 17, 18, 42, 43, 44, 45)
-
-
19. A method of performing an action in response to a file system event, the method comprising:
-
detecting that an event has occurred or is going to occur relative to a node within a file system;
in response to detecting that the event has occurred or is going to occur relative to the node, determining two or more mechanisms that are associated with the event;
determining an invocation order according to which the two or more mechanisms are to be invoked relative to each other; and
invoking at least one of the two or more mechanisms according to the invocation order, wherein at least one of the two or more mechanisms changes the invocation order. - View Dependent Claims (20, 21, 46, 47, 48)
-
-
22. A method of performing an action in response to a file system event, the method comprising:
-
establishing an association between a specified event and a specified action;
detecting that the specified event has occurred or is going to occur relative to a node within a file system; and
in response to detecting that the specified event has occurred or is going to occur relative to the node, performing the specified action. - View Dependent Claims (23, 24, 25, 26, 27, 49, 50, 51, 52, 53, 54)
-
Specification