Package com.atlassian.bamboo.logger
Class ElasticErrorDetailsImpl
java.lang.Object
com.atlassian.bamboo.logger.ErrorDetailsImpl
com.atlassian.bamboo.logger.ElasticErrorDetailsImpl
- All Implemented Interfaces:
ErrorDetails
Error Details specific to elastic bamboo
-
Field Summary
FieldsFields inherited from class com.atlassian.bamboo.logger.ErrorDetailsImpl
ALL_BUILDS
-
Constructor Summary
ConstructorsConstructorDescriptionElasticErrorDetailsImpl
(int errorNumber, @Nullable Long agentId, @Nullable String instanceId, String context, Date timeStamp, ThrowableDetails throwableDetails) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInstance
(String instanceId) boolean
Is this error specific to one plan (true) or for all/any plans (false) e.g. a system error or elastic error.boolean
Is this error specific to Elastic BambooMethods inherited from class com.atlassian.bamboo.logger.ErrorDetailsImpl
getAgentIds, getBuildKey, getBuildResultKey, getContext, getEntityKey, getErrorNumber, getFirstOccurred, getLastOccurred, getNumberOfOccurrences, getResultKey, getResultNumber, getResultNumberLong, getThrowableDetails
-
Field Details
-
ELASTIC_BAMBOO
- See Also:
-
-
Constructor Details
-
ElasticErrorDetailsImpl
public ElasticErrorDetailsImpl(int errorNumber, @Nullable @Nullable Long agentId, @Nullable @Nullable String instanceId, String context, Date timeStamp, ThrowableDetails throwableDetails)
-
-
Method Details
-
isBuildSpecific
public boolean isBuildSpecific()Description copied from interface:ErrorDetails
Is this error specific to one plan (true) or for all/any plans (false) e.g. a system error or elastic error.- Specified by:
isBuildSpecific
in interfaceErrorDetails
- Overrides:
isBuildSpecific
in classErrorDetailsImpl
- Returns:
- true if error contains a build key.
-
isElastic
public boolean isElastic()Description copied from class:ErrorDetailsImpl
Is this error specific to Elastic Bamboo- Overrides:
isElastic
in classErrorDetailsImpl
- Returns:
- true if error is for elastic bamboo, otherwise false.
-
getInstanceIds
-
addInstance
-