public class Project extends EntityPropertiesBuilder<ProjectProperties>
| Constructor and Description |
|---|
Project()
Specifies Bamboo project.
|
| Modifier and Type | Method and Description |
|---|---|
protected ProjectProperties |
build() |
Project |
description(String description)
Sets a project description.
|
Project |
key(BambooKey key)
Sets a project key.
|
Project |
key(String key)
Sets a project key.
|
Project |
name(String name)
Sets a project name.
|
Project |
oid(BambooOid oid)
Sets a project's oid.
|
Project |
oid(String oid)
Sets a project's oid.
|
public Project()
throws PropertiesValidationException
PropertiesValidationExceptionpublic Project name(@NotNull String name) throws PropertiesValidationException
PropertiesValidationExceptionpublic Project key(@Nullable String key) throws PropertiesValidationException
PropertiesValidationExceptionpublic Project key(@Nullable BambooKey key) throws PropertiesValidationException
PropertiesValidationExceptionpublic Project description(@Nullable String description) throws PropertiesValidationException
PropertiesValidationExceptionpublic Project oid(@Nullable String oid) throws PropertiesValidationException
PropertiesValidationExceptionpublic Project oid(@Nullable BambooOid oid) throws PropertiesValidationException
PropertiesValidationExceptionprotected ProjectProperties build() throws PropertiesValidationException
build in class EntityPropertiesBuilder<ProjectProperties>PropertiesValidationExceptionCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.