Package jetbrains.buildServer
Class BuildProblemDataEx
- java.lang.Object
-
- jetbrains.buildServer.BuildProblemData
-
- jetbrains.buildServer.BuildProblemDataEx
-
- All Implemented Interfaces:
BuildProblemTypes
,ObjectSizeEstimate
public class BuildProblemDataEx extends BuildProblemData
-
-
Field Summary
Fields Modifier and Type Field Description static String
BUILD_LOG_ANCHOR_KEY
-
Fields inherited from class jetbrains.buildServer.BuildProblemData
ADDITIONAL_DATA_KEY, INIT_ERROR_PREFIX, MAX_ATTR_NAME_LENGTH, MAX_ATTR_VALUE_LENGTH, MAX_DESCRIPTION_LENGTH, MAX_IDENTITY_LENGTH, MAX_TYPE_LENGTH
-
Fields inherited from interface jetbrains.buildServer.BuildProblemTypes
TC_BUILD_REVISION_NOT_FOUND, TC_COMPILATION_ERROR_TYPE, TC_ERROR_MESSAGE_TYPE, TC_EXECUTION_TIMEOUT_TYPE, TC_EXIT_CODE_TYPE, TC_FAILED_TESTS_TYPE, TC_JVM_CRASH_TYPE, TC_OOME_TYPE, TC_USER_PROVIDED_TYPE
-
-
Constructor Summary
Constructors Constructor Description BuildProblemDataEx(BuildProblemData buildProblemData, Integer buildLogAnchor)
Creates a copy of the specified build problem data and sets buildLogAnchor attribute to the specified value (overrides the existing value)BuildProblemDataEx(BuildProblemData buildProblemData, Map<String,String> attributes)
Creates a copy of the specified build problem data and sets the specified attributes (overrides the existing values)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
asString(String identity, String type, String description, Integer anchor)
Map<String,String>
getAttributes()
static Map<String,String>
getAttributes(BuildProblemData buildProblemData)
Integer
getBuildLogAnchor()
long
getEstimatedSize()
static boolean
hasBuildLogAnchor(BuildProblemData buildProblemData)
String
toString()
-
Methods inherited from class jetbrains.buildServer.BuildProblemData
asString, createBuildProblem, createBuildProblem, equals, getAdditionalData, getDescription, getIdentity, getType, hashCode
-
-
-
-
Field Detail
-
BUILD_LOG_ANCHOR_KEY
public static final String BUILD_LOG_ANCHOR_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BuildProblemDataEx
public BuildProblemDataEx(@NotNull BuildProblemData buildProblemData, @Nullable Integer buildLogAnchor)
Creates a copy of the specified build problem data and sets buildLogAnchor attribute to the specified value (overrides the existing value)
-
BuildProblemDataEx
public BuildProblemDataEx(@NotNull BuildProblemData buildProblemData, @Nullable Map<String,String> attributes)
Creates a copy of the specified build problem data and sets the specified attributes (overrides the existing values)
-
-
Method Detail
-
hasBuildLogAnchor
public static boolean hasBuildLogAnchor(@NotNull BuildProblemData buildProblemData)
-
getAttributes
public static Map<String,String> getAttributes(@NotNull BuildProblemData buildProblemData)
-
getBuildLogAnchor
@Nullable public Integer getBuildLogAnchor()
-
toString
public String toString()
- Overrides:
toString
in classBuildProblemData
-
asString
public static String asString(String identity, String type, String description, Integer anchor)
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSize
in interfaceObjectSizeEstimate
- Overrides:
getEstimatedSize
in classBuildProblemData
- Returns:
- estimated size of this object in bytes
-
-