Class WarningAnnotation.Builder
- java.lang.Object
-
- com.atlassian.bamboo.build.warning.WarningAnnotation.Builder
-
- Enclosing class:
- WarningAnnotation
public static class WarningAnnotation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WarningAnnotation
build()
WarningAnnotation.Builder
category(String category)
WarningAnnotation.Builder
fileName(@NotNull String fileName)
WarningAnnotation.Builder
lineNumber(Integer lineNumber)
WarningAnnotation.Builder
message(String message)
WarningAnnotation.Builder
repositoryId(Long repositoryId)
WarningAnnotation.Builder
severity(@NotNull WarningAnnotation.Severity severity)
WarningAnnotation.Builder
source(String source)
-
-
-
Method Detail
-
repositoryId
public WarningAnnotation.Builder repositoryId(@Nullable Long repositoryId)
-
fileName
public WarningAnnotation.Builder fileName(@NotNull @NotNull String fileName)
-
lineNumber
public WarningAnnotation.Builder lineNumber(@Nullable Integer lineNumber)
-
message
public WarningAnnotation.Builder message(String message)
-
severity
public WarningAnnotation.Builder severity(@NotNull @NotNull WarningAnnotation.Severity severity)
-
category
public WarningAnnotation.Builder category(String category)
-
source
public WarningAnnotation.Builder source(String source)
-
build
public WarningAnnotation build()
-
-