Class CheckoutItem


public class CheckoutItem extends 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 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 EntityPropertiesBuilder<CheckoutItemProperties>