Class CheckoutItem
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<CheckoutItemProperties>
-
- com.atlassian.bamboo.specs.builders.task.CheckoutItem
-
public class CheckoutItem extends EntityPropertiesBuilder<CheckoutItemProperties>
Represents a single checkout request.
-
-
Constructor Summary
Constructors Constructor Description CheckoutItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CheckoutItemPropertiesbuild()CheckoutItemdefaultRepository()Sets this checkout request for plan's default repository.CheckoutItempath(@NotNull java.lang.String path)Sets the path the repository should be checked out to.CheckoutItemrepository(@NotNull VcsRepositoryIdentifier repositoryIdentifier)Sets this checkout request for a particular repository.CheckoutItemrepository(@NotNull java.lang.String repositoryName)Sets this checkout request for a particular repository.
-
-
-
Method Detail
-
defaultRepository
public CheckoutItem defaultRepository()
Sets this checkout request for plan's default repository. Default repository is the repository which is the first on the list of plan's repositories.
-
repository
public CheckoutItem repository(@NotNull @NotNull java.lang.String repositoryName)
Sets this checkout request for a particular repository.
-
repository
public CheckoutItem repository(@NotNull @NotNull VcsRepositoryIdentifier repositoryIdentifier)
Sets this checkout request for a particular repository.
-
path
public CheckoutItem path(@NotNull @NotNull java.lang.String path)
Sets the path the repository should be checked out to. The path must be relative to the working directory. Empty by default.
-
build
protected CheckoutItemProperties build()
- Specified by:
buildin classEntityPropertiesBuilder<CheckoutItemProperties>
-
-