Uses of Enum Class
nl.knaw.dans.bagit.conformance.BagitWarning
-
Uses of BagitWarning in nl.knaw.dans.bagit.conformance
Modifier and TypeMethodDescriptionstatic BagitWarning
Returns the enum constant of this class with the specified name.static BagitWarning[]
BagitWarning.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Set<BagitWarning>
The BagIt specification is very flexible in what it allows which leads to situations where something may be technically allowed, but should be discouraged.static Set<BagitWarning>
BagLinter.lintBag
(Path rootDir, Collection<BagitWarning> warningsToIgnore) The BagIt specification is very flexible in what it allows which leads to situations where something may be technically allowed, but should be discouraged.Modifier and TypeMethodDescription(package private) static void
ManifestChecker.checkAlgorthm
(String algorithm, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) (package private) static void
ManifestChecker.checkAlgorthm
(String algorithm, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) static void
MetadataChecker.checkBagMetadata
(Path bagitDir, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) static void
MetadataChecker.checkBagMetadata
(Path bagitDir, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) static void
EncodingChecker.checkEncoding
(Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) static void
EncodingChecker.checkEncoding
(Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) private static void
ManifestChecker.checkForBagWithinBag
(String line, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore, boolean isPayloadManifest) private static void
ManifestChecker.checkForBagWithinBag
(String line, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore, boolean isPayloadManifest) private static void
ManifestChecker.checkForDifferentCase
(String path, Set<String> paths, Path manifestFile, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) private static void
BagLinter.checkForExtraLines
(Path bagitFile, Collection<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) private static String
ManifestChecker.checkForManifestCreatedWithMD5SumTools
(String path, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) private static String
ManifestChecker.checkForManifestCreatedWithMD5SumTools
(String path, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) private static void
ManifestChecker.checkForOSSpecificFiles
(String line, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore, Path manifestFile) private static void
ManifestChecker.checkForOSSpecificFiles
(String line, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore, Path manifestFile) private static void
MetadataChecker.checkForPayloadOxumMetadata
(Path bagitDir, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) private static void
MetadataChecker.checkForPayloadOxumMetadata
(Path bagitDir, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) private static void
ManifestChecker.checkForRelativePaths
(String line, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore, Path manifestFile) private static void
ManifestChecker.checkForRelativePaths
(String line, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore, Path manifestFile) private static boolean
ManifestChecker.checkManifest
(Path file, List<Path> payloadManifests, List<Path> tagManifests, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) private static boolean
ManifestChecker.checkManifest
(Path file, List<Path> payloadManifests, List<Path> tagManifests, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) private static void
ManifestChecker.checkManifestPayload
(Path manifestFile, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore, boolean isPayloadManifest) private static void
ManifestChecker.checkManifestPayload
(Path manifestFile, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore, boolean isPayloadManifest) static void
ManifestChecker.checkManifests
(Version version, Path bagitDir, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) Check for all the manifest specific potential problemsstatic void
ManifestChecker.checkManifests
(Version version, Path bagitDir, Charset encoding, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) Check for all the manifest specific potential problems(package private) static void
ManifestChecker.checkManifestSets
(Version version, List<Path> tagManifests, List<Path> payloadManifests, Set<BagitWarning> warnings, Charset encoding) (package private) static void
ManifestChecker.checkManifestsListSameSetOfFiles
(Set<BagitWarning> warnings, List<Path> manifestPaths, Charset charset) private static void
ManifestChecker.checkNormalization
(String path, Path rootDir, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) private static void
ManifestChecker.checkNormalization
(String path, Path rootDir, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) static void
VersionChecker.checkVersion
(Version version, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) static void
VersionChecker.checkVersion
(Version version, Set<BagitWarning> warnings, Collection<BagitWarning> warningsToIgnore) static Set<BagitWarning>
BagLinter.lintBag
(Path rootDir, Collection<BagitWarning> warningsToIgnore) The BagIt specification is very flexible in what it allows which leads to situations where something may be technically allowed, but should be discouraged.