Package org.mycore.mets.frontend
Class MCRMetsCommands
java.lang.Object
org.mycore.frontend.cli.MCRAbstractCommands
org.mycore.mets.frontend.MCRMetsCommands
- All Implemented Interfaces:
MCRExternalCommandInterface
-
Field Summary
Fields inherited from class org.mycore.frontend.cli.MCRAbstractCommands
command
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addMetsFileForDerivate
(String derivateID) addMetsFileForProjectID
(String projectID) static void
static void
Methods inherited from class org.mycore.frontend.cli.MCRAbstractCommands
addCommand, getDisplayName, getPossibleCommands, setDisplayName
-
Field Details
-
invalidMetsQueue
-
-
Constructor Details
-
MCRMetsCommands
public MCRMetsCommands()
-
-
Method Details
-
validateSelectedMets
@MCRCommand(syntax="validate selected mets", help="validates all mets.xml of selected derivates", order=10) public static void validateSelectedMets() -
fixInvalidMets
@MCRCommand(syntax="try fix invalid mets", help="This Command can be used to fix invalid mets files that was found in any validate selected mets runs.", order=15) public static void fixInvalidMets() -
addMetsFileForDerivate
@MCRCommand(syntax="add mets files for derivate {0}", order=20) public static void addMetsFileForDerivate(String derivateID) -
addMetsFileForProjectID
-