Package com.atlassian.bamboo.plan
Class VcsBambooSpecsSourceImpl
java.lang.Object
com.atlassian.bamboo.plan.VcsBambooSpecsSourceImpl
- All Implemented Interfaces:
ImmutableVcsBambooSpecsSource,VcsBambooSpecsSource
-
Constructor Summary
ConstructorsConstructorDescriptionVcsBambooSpecsSourceImpl(@NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsStateImpl, String sourceLocation) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()@NotNull VcsLocationBambooSpecsStateinthashCode()booleanstatic VcsBambooSpecsSourceImpljavaSpecsSource(@NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState) Creates instance of Specs Source which references Java Specs.voidvoidsetSourceLocation(String sourceLocation) voidsetVcsLocationBambooSpecsState(VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState) toString()static VcsBambooSpecsSourceImplyamlSpecsSource(@NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState, String sourceFilename) Creates instance of Specs Source which references YAML file
-
Constructor Details
-
VcsBambooSpecsSourceImpl
public VcsBambooSpecsSourceImpl() -
VcsBambooSpecsSourceImpl
public VcsBambooSpecsSourceImpl(@NotNull @NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsStateImpl, String sourceLocation)
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceImmutableVcsBambooSpecsSource
-
setId
-
getVcsLocationBambooSpecsState
- Specified by:
getVcsLocationBambooSpecsStatein interfaceImmutableVcsBambooSpecsSource- Specified by:
getVcsLocationBambooSpecsStatein interfaceVcsBambooSpecsSource- Returns:
- referenced Specs state
-
setVcsLocationBambooSpecsState
public void setVcsLocationBambooSpecsState(VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState) -
getSourceLocation
- Specified by:
getSourceLocationin interfaceImmutableVcsBambooSpecsSource- Returns:
- Specs source filename
-
setSourceLocation
-
isYamlConfiguration
public boolean isYamlConfiguration()Description copied from interface:ImmutableVcsBambooSpecsSource- Specified by:
isYamlConfigurationin interfaceImmutableVcsBambooSpecsSource- Returns:
trueif plan was created via Yaml Specs.Contract
ImmutableVcsBambooSpecsSource.getSourceLocation()is not null or empty then it's Yaml plan.
-
javaSpecsSource
public static VcsBambooSpecsSourceImpl javaSpecsSource(@NotNull @NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState) Creates instance of Specs Source which references Java Specs. -
yamlSpecsSource
public static VcsBambooSpecsSourceImpl yamlSpecsSource(@NotNull @NotNull VcsLocationBambooSpecsStateImpl vcsLocationBambooSpecsState, String sourceFilename) Creates instance of Specs Source which references YAML file -
equals
-
hashCode
public int hashCode() -
toString
-