public static interface PatchTextTransformer.Condition
Modifier and Type | Field and Description |
---|---|
static PatchTextTransformer.Condition |
ALWAYS
Constantly evaluates to
true . |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(String path,
List<DiffParser.Hunk> hunks,
int hunkIndex,
DiffParser.Hunk hunk,
int lineNumber) |
static final PatchTextTransformer.Condition ALWAYS
true
.boolean evaluate(String path, List<DiffParser.Hunk> hunks, int hunkIndex, DiffParser.Hunk hunk, int lineNumber)
path
- The 'path' of the file or ZIP entry being patchedhunks
- The hunks being appliedhunkIndex
- The index of the current hunkhunk
- The current hunklineNumber
- The line number where the hunk startsPatchTextTransformer(List, Condition)
Copyright © 2022 Arno Unkrig. All rights reserved.