Class CheckoutItem


  • public class CheckoutItem
    extends com.atlassian.bamboo.specs.api.builders.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 CheckoutItemProperties build()  
      CheckoutItem defaultRepository()
      Sets this checkout request for plan's default repository.
      CheckoutItem path​(@NotNull java.lang.String path)
      Sets the path the repository should be checked out to.
      CheckoutItem repository​(@NotNull com.atlassian.bamboo.specs.api.builders.repository.VcsRepositoryIdentifier repositoryIdentifier)
      Sets this checkout request for a particular repository.
      CheckoutItem repository​(@NotNull java.lang.String repositoryName)
      Sets this checkout request for a particular repository.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CheckoutItem

        public CheckoutItem()
    • 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 com.atlassian.bamboo.specs.api.builders.repository.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.