Package com.atlassian.bamboo.vcs.export
Class VcsRepositoryContextImpl
- java.lang.Object
-
- com.atlassian.bamboo.vcs.export.VcsRepositoryContextImpl
-
- All Implemented Interfaces:
VcsRepositoryContext
@Immutable public class VcsRepositoryContextImpl extends Object implements VcsRepositoryContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VcsRepositoryContextImpl.Builder
-
Constructor Summary
Constructors Constructor Description VcsRepositoryContextImpl(ImmutablePlan ownerPlan)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VcsRepositoryContextImpl.Builder
builder()
static VcsRepositoryContext
emptyContext()
Optional<ImmutablePlan>
getOwnerPlan()
-
-
-
Constructor Detail
-
VcsRepositoryContextImpl
public VcsRepositoryContextImpl(ImmutablePlan ownerPlan)
-
-
Method Detail
-
getOwnerPlan
public Optional<ImmutablePlan> getOwnerPlan()
- Specified by:
getOwnerPlan
in interfaceVcsRepositoryContext
- Returns:
- plans that contains repository, if the repository is part of a plan.
-
builder
public static VcsRepositoryContextImpl.Builder builder()
-
emptyContext
public static VcsRepositoryContext emptyContext()
-
-