BGPCEP-580: Implement PCEP stats DS rendering
[bgpcep.git] / config-loader / config-loader-impl / src / main / java / org / opendaylight / protocol / bgp / config / loader / impl / FileWatcher.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.protocol.bgp.config.loader.impl;
10
11 import java.nio.file.WatchService;
12 import javax.annotation.Nonnull;
13
14 public interface FileWatcher {
15     /**
16      * Path Folder watched.
17      *
18      * @return Path
19      */
20     @Nonnull
21     String getPathFile();
22
23     /**
24      * Return WatchService.
25      *
26      * @return WatchService
27      */
28     @Nonnull
29     WatchService getWatchService();
30 }