public class CommitFunctions extends Object
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Function<CommitContext,CommitContextImpl> |
cloneCommit()
Deprecated.
since 5.11, use
cloneCommit(CommitContext) as function reference |
static CommitContextImpl |
cloneCommit(CommitContext commit) |
static com.google.common.base.Function<CommitFile,CommitFile> |
cloneCommitFile()
Deprecated.
since 5.11, use
cloneCommitFile(CommitFile) as function reference |
static CommitFile |
cloneCommitFile(CommitFile commitFile) |
static com.google.common.collect.Ordering<CommitContext> |
getCommitDateOrdering()
Deprecated.
since 5.11, use
Comparator.comparing(java.util.function.Function<? super T, ? extends U>, java.util.Comparator<? super U>) with CommitContext.getDate() as function reference |
public static CommitContextImpl cloneCommit(CommitContext commit)
CommitContext
- will not include resultsSummarypublic static CommitFile cloneCommitFile(CommitFile commitFile)
@Deprecated public static com.google.common.base.Function<CommitContext,CommitContextImpl> cloneCommit()
cloneCommit(CommitContext)
as function reference@Deprecated public static com.google.common.base.Function<CommitFile,CommitFile> cloneCommitFile()
cloneCommitFile(CommitFile)
as function reference@Deprecated public static com.google.common.collect.Ordering<CommitContext> getCommitDateOrdering()
Comparator.comparing(java.util.function.Function<? super T, ? extends U>, java.util.Comparator<? super U>)
with CommitContext.getDate()
as function referenceCommitContext
that sorts objects by result of getDate() methodCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.