@Entity public class VcsBambooSpecsSourceImpl extends Object implements VcsBambooSpecsSource
Constructor and Description |
---|
VcsBambooSpecsSourceImpl() |
VcsBambooSpecsSourceImpl(@NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsStateImpl,
String sourceLocation) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Long |
getId() |
@NotNull Optional<String> |
getSourceLocation() |
@NotNull VcsLocationBambooSpecsState |
getVcsLocationBambooSpecsState() |
int |
hashCode() |
boolean |
isYamlConfiguration() |
static VcsBambooSpecsSourceImpl |
javaSpecsSource(@NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState)
Creates instance of Specs Source which references Java Specs.
|
void |
setId(Long id) |
void |
setSourceLocation(String sourceLocation) |
void |
setVcsLocationBambooSpecsState(VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState) |
String |
toString() |
static VcsBambooSpecsSourceImpl |
yamlSpecsSource(@NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState,
String sourceFilename)
Creates instance of Specs Source which references YAML file
|
public VcsBambooSpecsSourceImpl()
public VcsBambooSpecsSourceImpl(@NotNull @NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsStateImpl, String sourceLocation)
public Long getId()
getId
in interface ImmutableVcsBambooSpecsSource
public void setId(Long id)
@NotNull public @NotNull VcsLocationBambooSpecsState getVcsLocationBambooSpecsState()
getVcsLocationBambooSpecsState
in interface ImmutableVcsBambooSpecsSource
getVcsLocationBambooSpecsState
in interface VcsBambooSpecsSource
public void setVcsLocationBambooSpecsState(VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState)
@NotNull public @NotNull Optional<String> getSourceLocation()
getSourceLocation
in interface ImmutableVcsBambooSpecsSource
public void setSourceLocation(String sourceLocation)
public boolean isYamlConfiguration()
ImmutableVcsBambooSpecsSource
isYamlConfiguration
in interface ImmutableVcsBambooSpecsSource
true
if plan was created via Yaml Specs.
Contract ImmutableVcsBambooSpecsSource.getSourceLocation()
is not null or empty then it's Yaml plan.
public static VcsBambooSpecsSourceImpl javaSpecsSource(@NotNull @NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState)
public static VcsBambooSpecsSourceImpl yamlSpecsSource(@NotNull @NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState, String sourceFilename)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.