// Path: src/main/java/bbejeck/nio/files/directory/event/PathEvent.java
// public class PathEvent {
//     private final Path eventTarget;
//     private final WatchEvent.Kind type;
// 
//     PathEvent(Path eventTarget, WatchEvent.Kind type) {
//         this.eventTarget = eventTarget;
//         this.type = type;
//     }
// 
//     public Path getEventTarget() {
//         return eventTarget;
//     }
// 
//     public WatchEvent.Kind getType() {
//         return type;
//     }
// }


import bbejeck.nio.files.directory.event.PathEvent;
import java.nio.file.Path;
import java.util.List;
package bbejeck.nio.files.event;



/**
 * Created by IntelliJ IDEA.
 * User: bbejeck
 * Date: 2/20/12
 * Time: 10:00 PM
 */

public interface PathEventContext {

    boolean isValid();

    Path getWatchedDirectory();

// Path: src/main/java/bbejeck/nio/files/directory/event/PathEvent.java
// public class PathEvent {
//     private final Path eventTarget;
//     private final WatchEvent.Kind type;
// 
//     PathEvent(Path eventTarget, WatchEvent.Kind type) {
//         this.eventTarget = eventTarget;
//         this.type = type;
//     }
// 
//     public Path getEventTarget() {
//         return eventTarget;
//     }
// 
//     public WatchEvent.Kind getType() {
//         return type;
//     }
// }


// Path: src/main/java/bbejeck/nio/files/event/PathEventContext.java
import bbejeck.nio.files.directory.event.PathEvent;
import java.nio.file.Path;
import java.util.List;

package bbejeck.nio.files.event;



/**
 * Created by IntelliJ IDEA.
 * User: bbejeck
 * Date: 2/20/12
 * Time: 10:00 PM
 */

public interface PathEventContext {

    boolean isValid();

    Path getWatchedDirectory();

    List<PathEvent> getEvents();