Class CheckoutItem

java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<CheckoutItemProperties>
com.atlassian.bamboo.specs.builders.task.CheckoutItem

public class CheckoutItem extends com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<CheckoutItemProperties>
Represents a single checkout request.
  • Constructor Details

    • CheckoutItem

      public CheckoutItem()
  • Method Details

    • 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 String repositoryName)
      Sets this checkout request for a particular repository.
    • repository

      public CheckoutItem repository(@NotNull @NotNull com.atlassian.bamboo.specs.api.builders.repository.VcsRepositoryIdentifier repositoryIdentifier)
      Sets this checkout request for a particular repository.
    • path

      public CheckoutItem path(@NotNull @NotNull 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:
      build in class com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<CheckoutItemProperties>