org.jacoco.cli.internal
Class Main
java.lang.Object
org.jacoco.cli.internal.Command
org.jacoco.cli.internal.Main
public class Main
- extends Command
Entry point for all command line operations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
description
public String description()
- Specified by:
description in class Command
- Returns:
- Short description of the command.
usage
public String usage(CommandParser parser)
- Overrides:
usage in class Command
- Parameters:
parser - parser for this command
- Returns:
- usage string displayed for help
execute
public int execute(PrintWriter out,
PrintWriter err)
throws Exception
- Description copied from class:
Command
- Executes the given command.
- Specified by:
execute in class Command
- Parameters:
out - std outerr - std err
- Returns:
- exit code, should be 0 for normal operation
- Throws:
Exception - any exception that my occur during execution
main
public static void main(String... args)
throws Exception
- Main entry point for program invocations.
- Parameters:
args - program arguments
- Throws:
Exception - All internal exceptions are directly passed on to get printed
on the console
Copyright © 2009–2023 Mountainminds GmbH & Co. KG. All rights reserved.