Class AbstractOscalConvertCommand
java.lang.Object
gov.nist.secauto.metaschema.cli.processor.command.AbstractTerminalCommand
gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand
gov.nist.secauto.oscal.tools.cli.core.commands.AbstractOscalConvertCommand
- All Implemented Interfaces:
 gov.nist.secauto.metaschema.cli.processor.command.ICommand
- Direct Known Subclasses:
 ConvertSubcommand,ConvertSubcommand,ConvertSubcommand,ConvertSubcommand,ConvertSubcommand,ConvertSubcommand
public abstract class AbstractOscalConvertCommand
extends gov.nist.secauto.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 gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand
gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand.AbstractConversionCommandExecutor - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract Class<? extends gov.nist.secauto.metaschema.core.model.IBoundObject>Get the bound object class for the assembly associated with the command.gov.nist.secauto.metaschema.cli.processor.command.ICommandExecutornewExecutor(gov.nist.secauto.metaschema.cli.processor.CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) Methods inherited from class gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand
gatherOptions, getExtraArguments, getNameMethods inherited from class gov.nist.secauto.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 gov.nist.secauto.metaschema.cli.processor.command.ICommand
getDescription, getSubCommandByName, getSubCommands, isSubCommandRequired, validateExtraArguments, validateOptions 
- 
Constructor Details
- 
AbstractOscalConvertCommand
public AbstractOscalConvertCommand() 
 - 
 - 
Method Details
- 
getOscalClass
@NonNull public abstract Class<? extends gov.nist.secauto.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 gov.nist.secauto.metaschema.cli.processor.command.ICommandExecutor newExecutor(gov.nist.secauto.metaschema.cli.processor.CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine)  
 -