public class VcsTaskUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
appendAffectedCommits(long repositoryId,
@NotNull String revisionId,
@NotNull CommonTaskContext commonTaskContext)
Adds information about commit made by task to task context.
|
static @NotNull File |
getCheckoutDirectory(@NotNull CommonTaskContext taskContext,
long repositoryId)
Returns the checkout directory for the given repository, given task context.
|
@NotNull public static @NotNull File getCheckoutDirectory(@NotNull @NotNull CommonTaskContext taskContext, long repositoryId) throws TaskException
taskContext
- task contextrepositoryId
- id of repositoryTaskException
- on any errorpublic static void appendAffectedCommits(long repositoryId, @NotNull @NotNull String revisionId, @NotNull @NotNull CommonTaskContext commonTaskContext)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.