public class FileMonitorResult extends Object
| Constructor and Description |
|---|
FileMonitorResult()
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fileChanged(File file)
Called when the file is changed.
|
void |
fileCreated(File file)
Called when a file was added.
|
void |
fileDeleted(File file)
Called when the file is deleted.
|
Iterable<File> |
getAll() |
List<File> |
getAllAsList() |
List<File> |
getChanged() |
List<File> |
getCreated() |
List<File> |
getDeleted() |
String |
getInfo() |
boolean |
isEmpty() |
String |
toString() |
public FileMonitorResult()
delegate - the delegate listener to notify about file changespublic void fileChanged(File file)
file - the updated filepublic void fileCreated(File file)
file - the added filepublic void fileDeleted(File file)
file - the deleted filepublic String getInfo()
public boolean isEmpty()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.