Package org.mycore.frontend.cli
Class MCRDeveloperCommands
java.lang.Object
org.mycore.frontend.cli.MCRDeveloperCommands
This class contains commands that may be helpful during development.
- Author:
- Torsten Krause
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
showMessage
(String key, String lang) static void
showMessages
(String lang) static void
showMessages
(String keyPrefix, String lang) static void
showProperties
(String keyPrefix) static void
showProperty
(String key) static void
showResource
(String uri) static void
touchDerivate
(String id) static void
touchObject
(String id)
-
Constructor Details
-
MCRDeveloperCommands
public MCRDeveloperCommands()
-
-
Method Details
-
showMessage
-
showMessages
-
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)
-