Class AbstractValidateContentCommand.AbstractValidationCommandExecutor
- java.lang.Object
-
- gov.nist.secauto.metaschema.cli.processor.command.AbstractCommandExecutor
-
- gov.nist.secauto.metaschema.cli.commands.AbstractValidateContentCommand.AbstractValidationCommandExecutor
-
- All Implemented Interfaces:
ICommandExecutor,IBindingContext.IValidationSchemaProvider
- Enclosing class:
- AbstractValidateContentCommand
protected abstract class AbstractValidateContentCommand.AbstractValidationCommandExecutor extends AbstractCommandExecutor implements IBindingContext.IValidationSchemaProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface gov.nist.secauto.metaschema.cli.processor.command.ICommandExecutor
ICommandExecutor.ExecutionFunction
-
-
Constructor Summary
Constructors Constructor Description AbstractValidationCommandExecutor(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ExitStatusexecute()protected abstract IBindingContextgetBindingContext(Set<gov.nist.secauto.metaschema.core.model.constraint.IConstraintSet> constraintSets)-
Methods inherited from class gov.nist.secauto.metaschema.cli.processor.command.AbstractCommandExecutor
getCallingContext, getCommand, getCommandLine
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.nist.secauto.metaschema.databind.IBindingContext.IValidationSchemaProvider
getJsonSchema, getXmlSchemas
-
-
-
-
Constructor Detail
-
AbstractValidationCommandExecutor
public AbstractValidationCommandExecutor(@NonNull CLIProcessor.CallingContext callingContext, @NonNull org.apache.commons.cli.CommandLine commandLine)
-
-
Method Detail
-
getBindingContext
@NonNull protected abstract IBindingContext getBindingContext(@NonNull Set<gov.nist.secauto.metaschema.core.model.constraint.IConstraintSet> constraintSets) throws gov.nist.secauto.metaschema.core.model.MetaschemaException, IOException
- Throws:
gov.nist.secauto.metaschema.core.model.MetaschemaExceptionIOException
-
execute
public ExitStatus execute()
- Specified by:
executein interfaceICommandExecutor- Specified by:
executein classAbstractCommandExecutor
-
-