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 classprivate static classprivate static classNested 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.Algorithmprivate static final intprivate ThreadMXBean(package private) final DiffAlgorithms.Algorithm(package private) int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanprivate List<DiffAlgorithms.Test>init()private static booleanprotected booleanIf this command requires a repository.protected voidrun()Perform the actions of this command.private voidrun(Repository repo) private voidtestOne(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:
requiresRepositoryin 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:
runin 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
-