Class BambooKey
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<BambooKeyProperties>
-
- com.atlassian.bamboo.specs.api.builders.BambooKey
-
public class BambooKey extends EntityPropertiesBuilder<BambooKeyProperties>
Represents a short key of an Bamboo entity (project, plan, job, etc). This is partial key, for instance the value of plan key is "PLAN" rather than "PROJECT-PLAN". Keys serve as secondary identifiers of Bamboo entities, that is, whenever both key andBambooOid
is present,BambooOid
has higher priority.- See Also:
BambooOid
-
-
Constructor Summary
Constructors Constructor Description BambooKey(@NotNull java.lang.String key)
Specify key of provided value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BambooKeyProperties
build()
java.lang.String
toString()
-
-
-
Constructor Detail
-
BambooKey
public BambooKey(@NotNull @NotNull java.lang.String key) throws PropertiesValidationException
Specify key of provided value.- Throws:
PropertiesValidationException
-
-
Method Detail
-
build
protected BambooKeyProperties build() throws PropertiesValidationException
- Specified by:
build
in classEntityPropertiesBuilder<BambooKeyProperties>
- Throws:
PropertiesValidationException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-