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
Theinstrumentcommand.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.io.Filedestprivate Instrumenterinstrumenter(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.Stringdescription()intexecute(java.io.PrintWriter out, java.io.PrintWriter err)Executes the given command.private intinstrument(java.io.File src, java.io.File dest)private intinstrumentRecursive(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:
descriptionin classCommand- Returns:
- Short description of the command.
-
execute
public int execute(java.io.PrintWriter out, java.io.PrintWriter err) throws java.io.IOExceptionDescription copied from class:CommandExecutes 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
-
-