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