/FilesIssue

Files Issue for Darklight Nova Core

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Darklight Nova Core Issue: Files

Issue for Darklight Nova Core

Function

The Files issue checks that a given file/folder, or set of files/folders have been removed.

Use

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"

  1. Download the latest version from the releases section
  2. Add DNCFilesIssue.jar to your DNC build path
  3. Create a FilesIssue filesIssue = new FilesIssue() variable
  4. 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");
  5. Add fileIssue to the issues array in CoreEngine
  6. Start DNC!

License

GPLv3

Contributors

@IsaacJG