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 -
Method Summary
Modifier and TypeMethodDescriptionabstract Class<? extends dev.metaschema.core.model.IBoundObject>Get the bound object class for the assembly associated with the command.dev.metaschema.cli.processor.command.ICommandExecutornewExecutor(dev.metaschema.cli.processor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) Methods inherited from class dev.metaschema.cli.commands.AbstractConvertSubcommand
gatherOptions, getExtraArguments, getNameMethods inherited from class dev.metaschema.cli.processor.command.AbstractTerminalCommand
getCurrentWorkingDirectory, resolveAgainstCWD, resolveAgainstCWD, resolveAgainstCWDMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.metaschema.cli.processor.command.ICommand
getDescription, getSubCommandByName, getSubCommands, isSubCommandRequired, validateExtraArguments, validateOptions
-
Constructor Details
-
AbstractOscalConvertCommand
public AbstractOscalConvertCommand()
-
-
Method Details
-
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)
-