Package com.atlassian.bamboo.plan
Class ImmutableVcsBambooSpecsSourceImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.ImmutableVcsBambooSpecsSourceImpl
-
- All Implemented Interfaces:
ImmutableVcsBambooSpecsSource
public class ImmutableVcsBambooSpecsSourceImpl extends Object implements ImmutableVcsBambooSpecsSource
-
-
Constructor Summary
Constructors Constructor Description ImmutableVcsBambooSpecsSourceImpl(@NotNull ImmutableVcsBambooSpecsSource other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getId()
@NotNull Optional<String>
getSourceLocation()
@NotNull ImmutableVcsLocationBambooSpecsState
getVcsLocationBambooSpecsState()
boolean
isYamlConfiguration()
-
-
-
Constructor Detail
-
ImmutableVcsBambooSpecsSourceImpl
public ImmutableVcsBambooSpecsSourceImpl(@NotNull @NotNull ImmutableVcsBambooSpecsSource other)
-
-
Method Detail
-
getId
public Long getId()
- Specified by:
getId
in interfaceImmutableVcsBambooSpecsSource
-
getVcsLocationBambooSpecsState
@NotNull public @NotNull ImmutableVcsLocationBambooSpecsState getVcsLocationBambooSpecsState()
- Specified by:
getVcsLocationBambooSpecsState
in interfaceImmutableVcsBambooSpecsSource
- Returns:
- referenced Specs state
-
getSourceLocation
@NotNull public @NotNull Optional<String> getSourceLocation()
- Specified by:
getSourceLocation
in interfaceImmutableVcsBambooSpecsSource
- Returns:
- Specs source filename
-
isYamlConfiguration
public boolean isYamlConfiguration()
Description copied from interface:ImmutableVcsBambooSpecsSource
- Specified by:
isYamlConfiguration
in interfaceImmutableVcsBambooSpecsSource
- Returns:
true
if plan was created via Yaml Specs.Contract
ImmutableVcsBambooSpecsSource.getSourceLocation()
is not null or empty then it's Yaml plan.
-
-