Class Main

java.lang.Object
org.forgerock.openidm.shell.impl.Main

public final class Main extends Object
Main entry point for command-line interface.
  • Field Details

    • processor

      protected static org.apache.felix.gogo.runtime.CommandProcessorImpl processor
      the command processor.
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      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