Class ElasticErrorDetailsImpl

  • All Implemented Interfaces:
    ErrorDetails

    public class ElasticErrorDetailsImpl
    extends ErrorDetailsImpl
    Error Details specific to elastic bamboo
    • Constructor Detail

      • ElasticErrorDetailsImpl

        public ElasticErrorDetailsImpl​(int errorNumber,
                                       @Nullable
                                       @Nullable Long agentId,
                                       @Nullable
                                       @Nullable String instanceId,
                                       String context,
                                       Date timeStamp,
                                       ThrowableDetails throwableDetails)
    • Method Detail

      • 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 interface ErrorDetails
        Overrides:
        isBuildSpecific in class ErrorDetailsImpl
        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 class ErrorDetailsImpl
        Returns:
        true if error is for elastic bamboo, otherwise false.
      • getInstanceIds

        public List<String> getInstanceIds()
      • addInstance

        public void addInstance​(String instanceId)