Class AbstractOscalConvertCommand

java.lang.Object
dev.metaschema.cli.processor.command.AbstractTerminalCommand
dev.metaschema.cli.commands.AbstractConvertSubcommand
dev.metaschema.oscal.tools.cli.core.commands.AbstractOscalConvertCommand
All Implemented Interfaces:
dev.metaschema.cli.processor.command.ICommand
Direct Known Subclasses:
ConvertSubcommand, ConvertSubcommand, ConvertSubcommand, ConvertSubcommand, ConvertSubcommand, ConvertSubcommand

public abstract class AbstractOscalConvertCommand extends dev.metaschema.cli.commands.AbstractConvertSubcommand
Used by implementing classes to provide an OSCAL content conversion command.

This executor provides user feedback about extending command being deprecated in favor of the ConvertCommand.

  • Nested Class Summary

    Nested classes/interfaces inherited from class dev.metaschema.cli.commands.AbstractConvertSubcommand

    dev.metaschema.cli.commands.AbstractConvertSubcommand.AbstractConversionCommandExecutor
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract Class<? extends dev.metaschema.core.model.IBoundObject>
    Get the bound object class for the assembly associated with the command.
    dev.metaschema.cli.processor.command.ICommandExecutor
    newExecutor(dev.metaschema.cli.processor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine)
     

    Methods inherited from class dev.metaschema.cli.commands.AbstractConvertSubcommand

    gatherOptions, getExtraArguments, getName

    Methods inherited from class dev.metaschema.cli.processor.command.AbstractTerminalCommand

    getCurrentWorkingDirectory, resolveAgainstCWD, resolveAgainstCWD, resolveAgainstCWD

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.metaschema.cli.processor.command.ICommand

    getDescription, getSubCommandByName, getSubCommands, isSubCommandRequired, validateExtraArguments, validateOptions
  • Constructor Details

  • Method Details

    • getOscalClass

      @NonNull public abstract Class<? extends dev.metaschema.core.model.IBoundObject> getOscalClass()
      Get the bound object class for the assembly associated with the command.
      Returns:
      the bound object class for the associated assembly
    • newExecutor

      public dev.metaschema.cli.processor.command.ICommandExecutor newExecutor(dev.metaschema.cli.processor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine)