Package com.atlassian.bamboo.commit
Class CommitContextImpl.Builder
- java.lang.Object
-
- com.atlassian.bamboo.commit.CommitContextImpl.Builder
-
- Enclosing class:
- CommitContextImpl
public static class CommitContextImpl.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CommitContextImpl.Builder
author(@NotNull AuthorContext author)
CommitContextImpl.Builder
author(@NotNull String author, @NotNull String email)
CommitContextImpl.Builder
author(@Nullable String author)
CommitContextImpl.Builder
branch(String branch)
CommitContextImpl
build()
CommitContextImpl.Builder
changesetId(String changesetId)
CommitContextImpl.Builder
comment(@Nullable String comment)
CommitContextImpl.Builder
date(@Nullable Date date)
CommitContextImpl.Builder
file(CommitFile file)
CommitContextImpl.Builder
file(String revision, String name)
Deprecated.since 6.1 usefile(String, String, String)
CommitContextImpl.Builder
file(String revision, String name, String commitRevision)
CommitContextImpl.Builder
files(Iterable<CommitFile> files)
CommitContextImpl.Builder
foreignCommit(boolean foreignCommit)
-
-
-
Method Detail
-
build
public CommitContextImpl build()
-
author
public CommitContextImpl.Builder author(@NotNull @NotNull String author, @NotNull @NotNull String email)
-
author
public CommitContextImpl.Builder author(@Nullable @Nullable String author)
-
author
public CommitContextImpl.Builder author(@NotNull @NotNull AuthorContext author)
-
changesetId
public CommitContextImpl.Builder changesetId(String changesetId)
-
comment
public CommitContextImpl.Builder comment(@Nullable @Nullable String comment)
-
date
public CommitContextImpl.Builder date(@Nullable @Nullable Date date)
-
file
public CommitContextImpl.Builder file(CommitFile file)
-
file
@Deprecated public CommitContextImpl.Builder file(String revision, String name)
Deprecated.since 6.1 usefile(String, String, String)
-
file
public CommitContextImpl.Builder file(String revision, String name, String commitRevision)
-
files
public CommitContextImpl.Builder files(Iterable<CommitFile> files)
-
branch
public CommitContextImpl.Builder branch(String branch)
-
foreignCommit
public CommitContextImpl.Builder foreignCommit(boolean foreignCommit)
-
-