public class DiffCommand extends Object implements Command
global, missingFileError| Constructor and Description |
|---|
DiffCommand()
Initialze the command.
|
| Modifier and Type | Method and Description |
|---|---|
CommandState |
execute(CommandState state,
String[] args)
Given an input state and command line arguments, report on the differences between ontologies,
if any, and return the state unchanged.
|
String |
getDescription()
Brief description of the command.
|
String |
getName()
Name of the command.
|
org.apache.commons.cli.Options |
getOptions()
Command-line options for the command.
|
String |
getUsage()
Command-line usage for the command.
|
void |
main(String[] args)
Handle the command-line and file operations for the DiffOperation.
|
public String getName()
public String getDescription()
getDescription in interface Commandpublic String getUsage()
public org.apache.commons.cli.Options getOptions()
getOptions in interface Commandpublic void main(String[] args)
public CommandState execute(CommandState state, String[] args) throws Exception
Copyright © 2015–2020. All rights reserved.