Package com.atlassian.bamboo.specs.util
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 java.lang.Object implements com.atlassian.bamboo.specs.api.model.EntityPropertiesWrapper 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)com.atlassian.bamboo.specs.api.model.EntityPropertiesgetRootEntity()java.lang.StringgetSpecModelVersion()inthashCode()voidvalidate()
-
-
-
Method Detail
-
getSpecModelVersion
public java.lang.String getSpecModelVersion()
-
getRootEntity
public com.atlassian.bamboo.specs.api.model.EntityProperties getRootEntity()
-
validate
public void validate()
- Specified by:
validatein interfacecom.atlassian.bamboo.specs.api.model.EntityProperties
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-