org.jacoco.cli.internal.commands
Class Instrument

java.lang.Object
  extended by org.jacoco.cli.internal.Command
      extended by org.jacoco.cli.internal.commands.Instrument

public class Instrument
extends Command

The instrument command.


Field Summary
 
Fields inherited from class org.jacoco.cli.internal.Command
help, JAVACMD, quiet
 
Constructor Summary
Instrument()
           
 
Method Summary
 String description()
           
 int execute(PrintWriter out, PrintWriter err)
          Executes the given command.
 
Methods inherited from class org.jacoco.cli.internal.Command
name, printHelp, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instrument

public Instrument()
Method Detail

description

public String description()
Specified by:
description in class Command
Returns:
Short description of the command.

execute

public int execute(PrintWriter out,
                   PrintWriter err)
            throws IOException
Description copied from class: Command
Executes the given command.

Specified by:
execute in class Command
Parameters:
out - std out
err - std err
Returns:
exit code, should be 0 for normal operation
Throws:
IOException


Copyright © 2009–2023 Mountainminds GmbH & Co. KG. All rights reserved.