Class AbstractPlanIdentifierProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.plan.AbstractPlanIdentifierProperties
-
- All Implemented Interfaces:
EntityProperties
- Direct Known Subclasses:
PlanBranchIdentifierProperties,PlanIdentifierProperties
@Immutable public class AbstractPlanIdentifierProperties extends java.lang.Object implements EntityProperties
-
-
Field Summary
Fields Modifier and Type Field Description protected BambooKeyPropertieskeyprotected BambooOidPropertiesoid
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractPlanIdentifierProperties()AbstractPlanIdentifierProperties(@Nullable BambooKeyProperties key, @Nullable BambooOidProperties oid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@Nullable BambooKeyPropertiesgetKey()@Nullable BambooOidPropertiesgetOid()inthashCode()booleanisKeyDefined()booleanisOidDefined()java.lang.StringtoString()voidvalidate()
-
-
-
Field Detail
-
key
protected final BambooKeyProperties key
-
oid
protected final BambooOidProperties oid
-
-
Constructor Detail
-
AbstractPlanIdentifierProperties
protected AbstractPlanIdentifierProperties()
-
AbstractPlanIdentifierProperties
public AbstractPlanIdentifierProperties(@Nullable @Nullable BambooKeyProperties key, @Nullable @Nullable BambooOidProperties oid) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getKey
@Nullable public @Nullable BambooKeyProperties getKey()
-
isKeyDefined
public boolean isKeyDefined()
-
getOid
@Nullable public @Nullable BambooOidProperties getOid()
-
isOidDefined
public boolean isOidDefined()
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties
-
-