public Work()

in apache-whisker-scan/src/main/java/org/apache/creadur/whisker/scan/FromFileSystem.java [186:197]


            public Work(final String name, final File file) {
                if (!file.exists()) {
                    throw new IllegalArgumentException(
                            "Expected '" + file.getAbsolutePath() + "' to exist");
                }
                if (!file.isDirectory()) {
                    throw new IllegalArgumentException(
                            "Expected '" + file.getAbsolutePath() + "' to be a directory");
                }
                this.name = name;
                this.file = file;
            }