Class MCRMetsCommands

java.lang.Object
org.mycore.frontend.cli.MCRAbstractCommands
org.mycore.mets.frontend.MCRMetsCommands
All Implemented Interfaces:
MCRExternalCommandInterface

@MCRCommandGroup(name="Mets Commands") public class MCRMetsCommands extends MCRAbstractCommands
  • Field Details

  • 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

      @MCRCommand(syntax="add mets files for project id {0}", order=30) public static List<String> addMetsFileForProjectID(String projectID)