public class VcsCheckoutTask extends Task<VcsCheckoutTask,VcsCheckoutTaskProperties>
conditions, description, requirements, taskEnabled
Constructor and Description |
---|
VcsCheckoutTask() |
Modifier and Type | Method and Description |
---|---|
VcsCheckoutTask |
addCheckoutOfDefaultRepository()
Adds checkout request for the plan's default repository into the build directory.
|
VcsCheckoutTask |
addCheckoutOfRepository(String repositoryName)
Adds checkout request for one of plan's repositories into the build directory.
|
VcsCheckoutTask |
addCheckoutOfRepository(VcsRepositoryIdentifier repositoryIdentifier)
Adds checkout request for one of plan's repositories into the build directory.
|
protected VcsCheckoutTaskProperties |
build() |
VcsCheckoutTask |
checkoutItems(CheckoutItem... checkoutItems)
Adds checkout requests.
|
VcsCheckoutTask |
cleanCheckout(boolean cleanCheckout)
Enables/disabled clean checkout.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
conditions, description, enabled, requirements
public VcsCheckoutTask addCheckoutOfDefaultRepository()
The repository will be checked out to the build's working directory. For more control over checkout path, use
checkoutItems(CheckoutItem...)
.
public VcsCheckoutTask addCheckoutOfRepository(@NotNull String repositoryName)
The repository will be checked out to the build's working directory. For more control over checkout path, use
checkoutItems(CheckoutItem...)
.
public VcsCheckoutTask addCheckoutOfRepository(@NotNull VcsRepositoryIdentifier repositoryIdentifier)
The repository will be checked out to the build's working directory. For more control over checkout path, use
checkoutItems(CheckoutItem...)
.
public VcsCheckoutTask checkoutItems(@NotNull CheckoutItem... checkoutItems)
public VcsCheckoutTask cleanCheckout(boolean cleanCheckout)
@NotNull protected VcsCheckoutTaskProperties build()
build
in class Task<VcsCheckoutTask,VcsCheckoutTaskProperties>
public boolean equals(Object o)
equals
in class Task<VcsCheckoutTask,VcsCheckoutTaskProperties>
public int hashCode()
hashCode
in class Task<VcsCheckoutTask,VcsCheckoutTaskProperties>
public String toString()
toString
in class Task<VcsCheckoutTask,VcsCheckoutTaskProperties>
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.