Package com.google.gerrit.server.patch
-
Interface Summary Interface Description DiffOperations An interface for all file diff related operations.DiffSummaryLoader.Factory GitPositionTransformer.PositionConflictStrategy Strategy indicating how to handleGitPositionTransformer.Positions for which mapping conflicts exist.PatchListCache Provides a cached list of intra-line and summary diffs.PatchScriptFactory.Factory PatchScriptFactoryForAutoFix.Factory -
Class Summary Class Description AutoMerger Utility class for creating an auto-merge commit of a merge commit.ComparisonType Relation between the old and new commits used in the diff.DiffExecutorModule Module providing theDiffExecutor.DiffMappings Mappings derived from diffs.DiffOperationsImpl Provides different file diff operations.DiffOptions DiffOptions.Builder DiffSummary DiffSummaryKey DiffSummaryLoader DiffSummaryWeigher Computes memory usage forDiffSummaryin bytes of memory used.DiffUtil A utility class used by the diff cache interfacesGitModifiedFilesCacheandModifiedFilesCache.FilePathAdapter Adapter for old/new paths of the new diff cache to the old diff cache representation.GitPositionTransformer Transformer ofGitPositionTransformer.Positions in one Git tree toGitPositionTransformer.Positions in another Git tree given theGitPositionTransformer.Mappings between the trees.GitPositionTransformer.FileMapping A mapping of attributes from a file in one Git tree (source) to a file in another Git tree (target).GitPositionTransformer.Mapping A mapping from aGitPositionTransformer.Positionin one Git commit/tree (source) to aGitPositionTransformer.Positionin another Git commit/tree (target).GitPositionTransformer.Position A position within the tree of a Git commit.GitPositionTransformer.Position.Builder Builder of aGitPositionTransformer.Position.GitPositionTransformer.PositionedEntity<T> Wrapper around an instance ofTwhich annotates it with aGitPositionTransformer.Position.GitPositionTransformer.Range A range.GitPositionTransformer.RangeMapping A mapping of a line range in one Git tree (source) to the corresponding line range in another Git tree (target).IntraLineDiff IntraLineDiffArgs IntraLineDiffKey IntraLineWeigher Approximates memory usage for IntralineDiff in bytes of memory used.MagicFile Representation of a magic file which appears as a file with content to Gerrit users.MergeListBuilder PatchFile State supporting processing of a singlePatchinstance.PatchList PatchListCacheImpl Provides a cached list ofPatchListEntry.PatchListEntry PatchListKey PatchScriptFactory PatchScriptFactoryForAutoFix PatchSetInfoFactory Factory class creating PatchSetInfo from meta-data found in Git repository.SrcContentResolver Resolver of the source content of a specific fileSubmitWithStickyApprovalDiff This class is used on submit to compute the diff between the latest approved patch-set, and the current submitted patch-set.Text -
Enum Summary Enum Description GitPositionTransformer.BestPositionOnConflict A strategy which tries to select the next suitableGitPositionTransformer.Positionon a conflicting mapping.GitPositionTransformer.OmitPositionOnConflict A strategy which drops anyGitPositionTransformer.Positions on a conflicting mapping.IntraLineDiff.Status -
Exception Summary Exception Description DiffNotAvailableException Thrown by the diff caches - theGitModifiedFilesCacheand theModifiedFilesCache, if the implementations failed to retrieve the modified files between the 2 commits.PatchListNotAvailableException PatchListObjectTooLargeException Exception thrown when the PatchList could not be computed because previous attempts failed withLargeObjectException.PatchSetInfoNotAvailableException -
Annotation Types Summary Annotation Type Description DiffExecutor Marker onExecutorServiceused byIntraLineLoader.