All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dev9.mvnwatcher.event.PathEvent Maven / Gradle / Ivy

The newest version!
package com.dev9.mvnwatcher.event;

import java.nio.file.Path;
import java.nio.file.WatchEvent;

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

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;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy