Class BambooSpecProperties

  • All Implemented Interfaces:
    com.atlassian.bamboo.specs.api.model.EntityProperties

    public class BambooSpecProperties
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      BambooSpecProperties​(com.atlassian.bamboo.specs.api.model.EntityProperties rootEntity)  
    • Constructor Detail

      • BambooSpecProperties

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

      • getSpecModelVersion

        public java.lang.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​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object