Issue for Darklight Nova Core
The Files issue checks that a given file/folder, or set of files/folders have been removed.
Note: If you are checking a group of Files, the second argument of FileIssue.setFiles is the "name" of the group, and will be displayed as "[groupname] files have been deleted"
- Download the latest version from the releases section
- Add DNCFilesIssue.jar to your DNC build path
- Create a
FilesIssue filesIssue = new FilesIssue()
variable - If you only want to check for a single file:
filesIssue.setFile(new File("C:\bad\file.exe"))
otherwise call:filesIssue.setFiles(new File[] { <initialize files here> }, "Bad");
- Add
fileIssue
to the issues array in CoreEngine - Start DNC!