Class ShowSchemaCommand

java.lang.Object
io.permazen.cli.cmd.AbstractCommand
io.permazen.cli.cmd.ShowSchemaCommand
All Implemented Interfaces:
Command

public class ShowSchemaCommand extends AbstractCommand
  • Constructor Details

    • ShowSchemaCommand

      public ShowSchemaCommand()
  • Method Details

    • getHelpSummary

      public String getHelpSummary()
      Description copied from class: AbstractCommand
      Get summarized help (typically a single line).
      Specified by:
      getHelpSummary in interface Command
      Specified by:
      getHelpSummary in class AbstractCommand
      Returns:
      one line command summary
    • getAction

      public Session.Action getAction(Session session, Map<String,Object> params)
      Description copied from class: AbstractCommand
      Process command line parameters and return action.
      Specified by:
      getAction in class AbstractCommand
      Parameters:
      session - CLI session
      params - parsed parameters indexed by name
      Returns:
      action to perform for the parsed command
    • getSchemaModel

      protected static SchemaModel getSchemaModel(Session session, SchemaId schemaId)
    • runWithoutSchema

      protected static <R> R runWithoutSchema(Session session, io.permazen.cli.cmd.AbstractSchemaCommand.SchemaAgnosticAction<R> action)