Class MCRDeveloperCommands

java.lang.Object
org.mycore.frontend.cli.MCRDeveloperCommands

@MCRCommandGroup(name="Developer Commands") public class MCRDeveloperCommands extends Object
This class contains commands that may be helpful during development.
Author:
Torsten Krause
  • Constructor Details

    • MCRDeveloperCommands

      public MCRDeveloperCommands()
  • Method Details

    • showMessage

      @MCRCommand(syntax="show message {0} for {1}", help="Show message with key {0} for locale {1}", order=10) public static void showMessage(String key, String lang)
    • showMessages

      @MCRCommand(syntax="show messages {0} for {1}", help="Show messages with key prefix {0} for locale {1}", order=20) public static void showMessages(String keyPrefix, String lang)
    • showMessages

      @MCRCommand(syntax="show all messages for {0}", help="Show all messages for locale {0}", order=30) public static void showMessages(String lang)
    • showProperty

      @MCRCommand(syntax="show property {0}", help="Show configuration property with key {0}", order=40) public static void showProperty(String key)
    • showProperties

      @MCRCommand(syntax="show properties {0}", help="Show configuration properties starting with key prefix {0}", order=50) public static void showProperties(String keyPrefix)
    • showAllProperties

      @MCRCommand(syntax="show all properties", help="Show all configuration properties", order=60) public static void showAllProperties()
    • showResource

      @MCRCommand(syntax="show resource {0}", help="Show resource with uri {0}", order=70) public static void showResource(String uri)
    • touchObject

      @MCRCommand(syntax="touch object {0}", help="Load and update object with id {0} without making any modifications", order=80) public static void touchObject(String id)
    • touchDerivate

      @MCRCommand(syntax="touch derivate {0}", help="Load and update derivate with id {0} without making any modifications", order=90) public static void touchDerivate(String id)