Package org.eclipse.jgit.pgm.debug
Class DiffAlgorithms
java.lang.Object
org.eclipse.jgit.pgm.TextBuiltin
org.eclipse.jgit.pgm.debug.DiffAlgorithms
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
private static class
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RawTextComparator
(package private) int
(package private) final DiffAlgorithms.Algorithm
(package private) final DiffAlgorithms.Algorithm
private static final int
private ThreadMXBean
(package private) final DiffAlgorithms.Algorithm
(package private) int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
private List<DiffAlgorithms.Test>
init()
private static boolean
protected boolean
If this command requires a repository.protected void
run()
Perform the actions of this command.private void
run
(Repository repo) private void
testOne
(DiffAlgorithms.Test test, RawText a, RawText b) Methods inherited from class org.eclipse.jgit.pgm.TextBuiltin
containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit
-
Field Details
-
myers
-
histogram
-
histogram_myers
-
algorithms
-
textLimit
int textLimit -
gitDirs
-
count
int count -
cmp
-
mxBean
-
minCPUTimerTicks
private static final int minCPUTimerTicks- See Also:
-
-
Constructor Details
-
DiffAlgorithms
DiffAlgorithms()
-
-
Method Details
-
requiresRepository
protected boolean requiresRepository()If this command requires a repository.- Overrides:
requiresRepository
in classTextBuiltin
- Returns:
- true if
TextBuiltin.db
/TextBuiltin.getRepository()
is required
-
run
Perform the actions of this command.This method should only be invoked by
TextBuiltin.execute(String[])
.- Specified by:
run
in classTextBuiltin
- Throws:
Exception
- an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.
-
run
- Throws:
Exception
-
isFile
-
testOne
-
init
-
included
-