Class GitResolveAnnotatedTagsCommandParameters.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.git.ref.GitResolveAnnotatedTagsCommandParameters.Builder
- Enclosing class:
- GitResolveAnnotatedTagsCommandParameters
public static class GitResolveAnnotatedTagsCommandParameters.Builder
extends com.atlassian.bitbucket.util.BuilderSupport
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
tagIds
@Nonnull public GitResolveAnnotatedTagsCommandParameters.Builder tagIds(@Nullable String value, @Nullable String... moreValues) - Parameters:
value- a tag ID to resolve. This can be a fully qualifiedtag IDor a tag hashmoreValues- more tag IDs to resolve- Returns:
- the builder
-
tagIds
@Nonnull public GitResolveAnnotatedTagsCommandParameters.Builder tagIds(@Nullable Iterable<String> values) - Parameters:
values- tag IDs to resolve. These can be fully qualifiedtag IDs, hashes or a mix thereof- Returns:
- the builder
-
maxMessageLength
- Parameters:
value- the maximum length of thetag messageto return. The returned message will be truncated if the real message is longer than the specified maximum length. Set toGitResolveAnnotatedTagsCommandParameters.UNLIMITED_MESSAGE_LENGTHto retrieve the full message (the default).- Returns:
- the builder
-