Package org.jacoco.cli.internal.commands
Class Instrument
java.lang.Object
org.jacoco.cli.internal.Command
org.jacoco.cli.internal.commands.Instrument
The
instrument
command.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
execute
(PrintWriter out, PrintWriter err) Executes the given command.private int
instrument
(File src, File dest) private int
instrumentRecursive
(File src, File dest)
-
Field Details
-
dest
File dest -
source
-
instrumenter
-
-
Constructor Details
-
Instrument
public Instrument()
-
-
Method Details
-
description
- Specified by:
description
in classCommand
- Returns:
- Short description of the command.
-
execute
Description copied from class:Command
Executes the given command.- Specified by:
execute
in classCommand
- Parameters:
out
- std outerr
- std err- Returns:
- exit code, should be 0 for normal operation
- Throws:
IOException
-
instrumentRecursive
- Throws:
IOException
-
instrument
- Throws:
IOException
-