Package org.jacoco.cli.internal.commands
Class Instrument
- java.lang.Object
-
- org.jacoco.cli.internal.Command
-
- org.jacoco.cli.internal.commands.Instrument
-
public class Instrument extends Command
Theinstrument
command.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.io.File
dest
private Instrumenter
instrumenter
(package private) java.util.List<java.io.File>
source
-
Constructor Summary
Constructors Constructor Description Instrument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
description()
int
execute(java.io.PrintWriter out, java.io.PrintWriter err)
Executes the given command.private int
instrument(java.io.File src, java.io.File dest)
private int
instrumentRecursive(java.io.File src, java.io.File dest)
-
-
-
Field Detail
-
dest
java.io.File dest
-
source
java.util.List<java.io.File> source
-
instrumenter
private Instrumenter instrumenter
-
-
Method Detail
-
description
public java.lang.String description()
- Specified by:
description
in classCommand
- Returns:
- Short description of the command.
-
execute
public int execute(java.io.PrintWriter out, java.io.PrintWriter err) throws java.io.IOException
Description copied from class:Command
Executes the given command.
-
instrumentRecursive
private int instrumentRecursive(java.io.File src, java.io.File dest) throws java.io.IOException
- Throws:
java.io.IOException
-
instrument
private int instrument(java.io.File src, java.io.File dest) throws java.io.IOException
- Throws:
java.io.IOException
-
-