Class BitbucketBuildStatus.Builder
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.model.BitbucketBuildStatus.Builder
-
- Enclosing class:
- BitbucketBuildStatus
public static class BitbucketBuildStatus.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder(String key, BuildState state, String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitbucketBuildStatus
build()
BitbucketBuildStatus.Builder
legacy()
BitbucketBuildStatus.Builder
noCancelledState()
BitbucketBuildStatus.Builder
setBuildNumber(String buildNumber)
BitbucketBuildStatus.Builder
setDescription(String description)
BitbucketBuildStatus.Builder
setDuration(long duration)
BitbucketBuildStatus.Builder
setName(String name)
BitbucketBuildStatus.Builder
setParent(String parent)
BitbucketBuildStatus.Builder
setRef(String ref)
BitbucketBuildStatus.Builder
setTestResults(TestResults testResults)
-
-
-
Constructor Detail
-
Builder
public Builder(String key, BuildState state, String url)
-
-
Method Detail
-
build
public BitbucketBuildStatus build()
-
legacy
public BitbucketBuildStatus.Builder legacy()
-
noCancelledState
public BitbucketBuildStatus.Builder noCancelledState()
-
setBuildNumber
public BitbucketBuildStatus.Builder setBuildNumber(String buildNumber)
-
setDescription
public BitbucketBuildStatus.Builder setDescription(String description)
-
setDuration
public BitbucketBuildStatus.Builder setDuration(long duration)
-
setName
public BitbucketBuildStatus.Builder setName(String name)
-
setParent
public BitbucketBuildStatus.Builder setParent(String parent)
-
setRef
public BitbucketBuildStatus.Builder setRef(@Nullable String ref)
-
setTestResults
public BitbucketBuildStatus.Builder setTestResults(@Nullable TestResults testResults)
-
-