Class RepositoryHookResult.Builder
java.lang.Object
com.atlassian.bitbucket.hook.repository.RepositoryHookResult.Builder
- Enclosing class:
- RepositoryHookResult
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionadd(RepositoryHookResult value) Includes allvetoesfrom another resultbuild()boolean
- 
Constructor Details- 
Builderpublic Builder()
- 
Builder
 
- 
- 
Method Details- 
addIncludes allvetoesfrom another result- Parameters:
- value- the other result to include
- Returns:
- this
 
- 
build- Returns:
- the result
 
- 
isRejectedpublic boolean isRejected()
- 
veto@Nonnull public RepositoryHookResult.Builder veto(@Nonnull String summaryMessage, @Nonnull String detailedMessage) - Parameters:
- summaryMessage- a short summary of the reason the request is rejected
- detailedMessage- a detailed description of the reason for rejecting the request
- Returns:
- this
 
 
-