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 TypeMethodDescriptionvoidaddInstance(String instanceId) booleanIs this error specific to one plan (true) or for all/any plans (false) e.g.booleanIs 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:ErrorDetailsIs this error specific to one plan (true) or for all/any plans (false) e.g. a system error or elastic error.- Specified by:
isBuildSpecificin interfaceErrorDetails- Overrides:
isBuildSpecificin classErrorDetailsImpl- Returns:
- true if error contains a build key.
-
isElastic
public boolean isElastic()Description copied from class:ErrorDetailsImplIs this error specific to Elastic Bamboo- Overrides:
isElasticin classErrorDetailsImpl- Returns:
- true if error is for elastic bamboo, otherwise false.
-
getInstanceIds
-
addInstance
-