com.atlassian.bamboo.task.repository
Class RepositoryTaskHelper
java.lang.Object
com.atlassian.bamboo.task.repository.RepositoryTaskHelper
public class RepositoryTaskHelper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CFG_SELECTED_REPOSITORY_ID_PREFIX
public static final java.lang.String CFG_SELECTED_REPOSITORY_ID_PREFIX
- See Also:
- Constant Field Values
CFG_DEFAULT_REPOSITORY
public static final java.lang.String CFG_DEFAULT_REPOSITORY
- See Also:
- Constant Field Values
CFG_SELECTED_REPOSITORY
public static final java.lang.String CFG_SELECTED_REPOSITORY
- See Also:
- Constant Field Values
isRepositorySelector
public static final com.google.common.base.Predicate<java.lang.String> isRepositorySelector
orderingOfRepositorySelectors
public static final com.google.common.collect.Ordering<java.lang.String> orderingOfRepositorySelectors
getRepositoriesUsedByTask
@NotNull
public static java.util.List<Result<RepositoryDefinitionException,RepositoryDefinition>> getRepositoriesUsedByTask(@NotNull
TaskDefinition taskDefinition,
@NotNull
java.util.List<RepositoryDefinition> repositoryDefinitionList)
safeGetRepositoriesUsedByTask
@NotNull
public static java.util.List<RepositoryDefinition> safeGetRepositoriesUsedByTask(@NotNull
TaskDefinition taskDefinition,
@NotNull
java.util.List<RepositoryDefinition> repositoryDefinitionList)
- Get list of
RepositoryDefinition
existing in repositoryDefinitionMap and used by task
- Parameters:
taskDefinition
- repositoryDefinitionList
-
- Returns:
replaceRepositoryReferences
public static void replaceRepositoryReferences(@NotNull
TaskDefinition taskDefinition,
@NotNull
java.util.Map<java.lang.Long,java.lang.Long> repositoryIdChanges)
getRepositoryDefinitionByIdSelector
public static RepositoryDefinition getRepositoryDefinitionByIdSelector(@NotNull
TaskContext taskContext,
@NotNull
java.lang.String repositoryIdSelector)
throws RepositoryDefinitionException
- Throws:
RepositoryDefinitionException
getRepositoryDefinitionByIdSelector
public static RepositoryDefinition getRepositoryDefinitionByIdSelector(@NotNull
BuildContext buildContext,
@NotNull
TaskDefinition taskDefinition,
@NotNull
java.lang.String repositoryIdSelector)
throws RepositoryDefinitionException
- Throws:
RepositoryDefinitionException
Copyright © 2012 Atlassian. All Rights Reserved.