Package org.spdx.tools
Class Main
java.lang.Object
org.spdx.tools.Main
Dispatch individual tools
Each dispatched tool's main() calls System.exit() itself, which terminates the process immediately with that tool's own exit status - so the exit codes below only apply when no tool is actually dispatched:
Each dispatched tool's main() calls System.exit() itself, which terminates the process immediately with that tool's own exit status - so the exit codes below only apply when no tool is actually dispatched:
- 0 - success (e.g. the "Version" command, which is handled here directly instead of being dispatched)
- 2 - the command was invoked incorrectly (missing/unrecognized tool name)
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
- Parameters:
args- args[0] is the name of the tools with the remaining args being the tool parameters
-