Class BambooSpecProperties

java.lang.Object
com.atlassian.bamboo.specs.util.BambooSpecProperties
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties

public class BambooSpecProperties extends Object implements com.atlassian.bamboo.specs.api.model.EntityProperties
Wrapper for root entity that is sent to Bamboo. It's main purpose for now it to hold model version. It will be used by Bamboo Server to reject incompatible versions in the future.
  • Constructor Details

    • BambooSpecProperties

      public BambooSpecProperties(com.atlassian.bamboo.specs.api.model.EntityProperties rootEntity)
  • Method Details

    • getSpecModelVersion

      public String getSpecModelVersion()
    • getRootEntity

      public com.atlassian.bamboo.specs.api.model.EntityProperties getRootEntity()
    • validate

      public void validate()
      Specified by:
      validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object