Package org.obolibrary.robot
Class ValidateProfileCommand
- java.lang.Object
-
- org.obolibrary.robot.ValidateProfileCommand
-
-
Field Summary
-
Fields inherited from interface org.obolibrary.robot.Command
global, missingFileError
-
-
Constructor Summary
Constructors Constructor Description ValidateProfileCommand()
Initialize the command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandState
execute(CommandState state, String[] args)
All commands offer an execute method that can be chained from previous commands.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)
All commands can be call from the Java command line with an array of strings as arguments.
-
-
-
Method Detail
-
getDescription
public String getDescription()
Description copied from interface:Command
Brief description of the command.- Specified by:
getDescription
in interfaceCommand
- Returns:
- description
-
getUsage
public String getUsage()
Description copied from interface:Command
Command-line usage for the command.
-
getOptions
public org.apache.commons.cli.Options getOptions()
Description copied from interface:Command
Command-line options for the command.- Specified by:
getOptions
in interfaceCommand
- Returns:
- options
-
main
public void main(String[] args)
Description copied from interface:Command
All commands can be call from the Java command line with an array of strings as arguments.
-
execute
public CommandState execute(CommandState state, String[] args) throws Exception
Description copied from interface:Command
All commands offer an execute method that can be chained from previous commands.
-
-