| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private int | |
| private String | |
| private ProgressMonitor | |
| private AbstractTreeIterator | |
| private AbstractTreeIterator | |
| private OutputStream | |
| private TreeFilter | |
| private boolean | |
| private boolean | |
| private String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public List | call()
Implements abstract org. Implements java. Computes a result, or throws an exception if unable to do so. |
| private DiffFormatter | |
| public DiffCommand | Returns: this instancewhether to view the changes staged for the next commit cached)Whether to view the changes staged for the next commit |
| public DiffCommand | Returns: this instancethe number of context lines contextLines)Set number of context lines instead of the usual three. |
| public DiffCommand | Returns: this instancethe prefix destinationPrefix)Set the given destination prefix instead of "b/". |
| public DiffCommand | |
| public DiffCommand | |
| public DiffCommand | Returns: this instancethe stream to write line data out)Set output stream |
| public DiffCommand | Returns: this instanceparameter, used to limit the diff to the named path pathFilter)Set path filter |
| public DiffCommand | Returns: this instancea progress monitor monitor)The progress monitor associated with the diff operation. |
| public DiffCommand | Returns: this instancewhether to return only names and status of changed files showNameAndStatusOnly)Set whether to return only names and status of changed files |
| public DiffCommand | Returns: this instancewhether to return only names files showNameOnly)Set whether to return only names of changed files |
| public DiffCommand | Returns: this instancethe prefix sourcePrefix)Set the given source prefix instead of "a/". |
| cached | back to summary |
|---|---|
| private boolean cached | |
| contextLines | back to summary |
|---|---|
| private int contextLines | |
| destinationPrefix | back to summary |
|---|---|
| private String destinationPrefix | |
| monitor | back to summary |
|---|---|
| private ProgressMonitor monitor | |
| newTree | back to summary |
|---|---|
| private AbstractTreeIterator newTree | |
| oldTree | back to summary |
|---|---|
| private AbstractTreeIterator oldTree | |
| out | back to summary |
|---|---|
| private OutputStream out | |
| pathFilter | back to summary |
|---|---|
| private TreeFilter pathFilter | |
| showNameAndStatusOnly | back to summary |
|---|---|
| private boolean showNameAndStatusOnly | |
| showNameOnly | back to summary |
|---|---|
| private boolean showNameOnly | |
| sourcePrefix | back to summary |
|---|---|
| private String sourcePrefix | |
| DiffCommand | back to summary |
|---|---|
| protected DiffCommand(Repository repo) Constructor for DiffCommand
| |
| call | back to summary |
|---|---|
| public List Implements abstract org. Implements java. Doc from org. Computes a result, or throws an exception if unable to do so. Execute the command
Executes the
| |
| getDiffFormatter | back to summary |
|---|---|
| private DiffFormatter getDiffFormatter() | |
| setCached | back to summary |
|---|---|
| public DiffCommand setCached(boolean cached) Whether to view the changes staged for the next commit
| |
| setContextLines | back to summary |
|---|---|
| public DiffCommand setContextLines(int contextLines) Set number of context lines instead of the usual three.
| |
| setDestinationPrefix | back to summary |
|---|---|
| public DiffCommand setDestinationPrefix(String destinationPrefix) Set the given destination prefix instead of "b/".
| |
| setNewTree | back to summary |
|---|---|
| public DiffCommand setNewTree(AbstractTreeIterator newTree) Set new tree
| |
| setOldTree | back to summary |
|---|---|
| public DiffCommand setOldTree(AbstractTreeIterator oldTree) Set old tree
| |
| setOutputStream | back to summary |
|---|---|
| public DiffCommand setOutputStream(OutputStream out) Set output stream
| |
| setPathFilter | back to summary |
|---|---|
| public DiffCommand setPathFilter(TreeFilter pathFilter) Set path filter
| |
| setProgressMonitor | back to summary |
|---|---|
| public DiffCommand setProgressMonitor(ProgressMonitor monitor) The progress monitor associated with the diff operation. By default, this
is set to
| |
| setShowNameAndStatusOnly | back to summary |
|---|---|
| public DiffCommand setShowNameAndStatusOnly(boolean showNameAndStatusOnly) Set whether to return only names and status of changed files
| |
| setShowNameOnly | back to summary |
|---|---|
| public DiffCommand setShowNameOnly(boolean showNameOnly) Set whether to return only names of changed files
| |
| setSourcePrefix | back to summary |
|---|---|
| public DiffCommand setSourcePrefix(String sourcePrefix) Set the given source prefix instead of "a/".
| |