Uses of Class
dev.metaschema.cli.processor.command.CommandExecutionException
Packages that use CommandExecutionException
Package
Description
Provides a collection of abstract and concrete command line interface (CLI)
commands that process Metaschema module-based information.
-
Uses of CommandExecutionException in dev.metaschema.cli.commands
Methods in dev.metaschema.cli.commands that throw CommandExecutionExceptionModifier and TypeMethodDescriptionstatic FormatMetaschemaCommands.determineSourceFormat(org.apache.commons.cli.CommandLine commandLine, org.apache.commons.cli.Option option, IBoundLoader loader, URI resource) Detect the source format for content identified using the provided option.voidAbstractConvertSubcommand.AbstractConversionCommandExecutor.execute()voidAbstractValidateContentCommand.AbstractValidationCommandExecutor.execute()Execute the validation operation.protected voidGenerateDiagramCommand.executeCommand(CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) Execute the diagram generation command.protected voidGenerateSchemaCommand.executeCommand(CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) Execute the schema generation operation.protected abstract IBindingContextAbstractConvertSubcommand.AbstractConversionCommandExecutor.getBindingContext()Get the binding context to use for data processing.protected abstract IBindingContextAbstractValidateContentCommand.AbstractValidationCommandExecutor.getBindingContext(Set<IConstraintSet> constraintSets) Get the binding context to use for data processing.static FormatMetaschemaCommands.getFormat(org.apache.commons.cli.CommandLine commandLine, org.apache.commons.cli.Option option) Parse the command line options to get the selected format.protected abstract IModuleAbstractValidateContentCommand.AbstractValidationCommandExecutor.getModule(org.apache.commons.cli.CommandLine commandLine, IBindingContext bindingContext) Get the module to use for validation.MetaschemaCommands.getSchemaFormat(org.apache.commons.cli.CommandLine commandLine, org.apache.commons.cli.Option option) Parse the command line options to get the selected schema format.static PathMetaschemaCommands.handleDestination(String path, org.apache.commons.cli.CommandLine commandLine) Get the provided destination path as an absolutePathfor the resource.static URIMetaschemaCommands.handleSource(String pathOrUri, URI currentWorkingDirectory) Get the provided source path or URI string as an absoluteURIfor the resource.static Set<IConstraintSet>MetaschemaCommands.loadConstraintSets(org.apache.commons.cli.CommandLine commandLine, org.apache.commons.cli.Option option, URI currentWorkingDirectory) Load a set of external Metaschema module constraints based on the provided command line option.static IModuleMetaschemaCommands.loadModule(String moduleResource, URI currentWorkingDirectory, IBindingContext bindingContext) Load a Metaschema module from the provided relative resource path.static IModuleMetaschemaCommands.loadModule(URI moduleResource, IBindingContext bindingContext) Load a Metaschema module from the provided resource path.static IModuleMetaschemaCommands.loadModule(org.apache.commons.cli.CommandLine commandLine, org.apache.commons.cli.Option option, URI currentWorkingDirectory, IBindingContext bindingContext) Load a Metaschema module based on the provided command line option.static IBindingContextMetaschemaCommands.newBindingContextWithDynamicCompilation()Create a newIBindingContextthat is configured for dynamic compilation.static IBindingContextMetaschemaCommands.newBindingContextWithDynamicCompilation(Set<IConstraintSet> constraintSets) Create a newIBindingContextthat is configured for dynamic compilation and to use the provided constraints. -
Uses of CommandExecutionException in dev.metaschema.cli.processor.command
Methods in dev.metaschema.cli.processor.command that throw CommandExecutionExceptionModifier and TypeMethodDescriptionabstract voidAbstractCommandExecutor.execute()voidICommandExecutor.execute()Execute the command operation.voidICommandExecutor.ExecutionFunction.execute(CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) Execute a command operation.protected voidShellCompletionCommand.executeCommand(CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) Execute the shell completion generation.