Package org.forgerock.openidm.shell.impl
Class Main
java.lang.Object
org.forgerock.openidm.shell.impl.Main
Main entry point for command-line interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.felix.gogo.runtime.CommandProcessorImplthe command processor. -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodfindCommandMethod(Class<? extends CustomCommandScope> commandsProvider, String methodName) Locate the command method.static voidProgram main!
-
Field Details
-
processor
protected static org.apache.felix.gogo.runtime.CommandProcessorImpl processorthe command processor.
-
-
Method Details
-
main
Program main!- Parameters:
args- the command-line arguments- Throws:
Exception- on failure to execute shell/command-line
-
findCommandMethod
public static Method findCommandMethod(Class<? extends CustomCommandScope> commandsProvider, String methodName) Locate the command method.- Parameters:
commandsProvider- the command provider (scope)methodName- the method name- Returns:
- the method
-