Package jetbrains.buildServer.pipeline
Interface Pipeline
-
- All Known Implementing Classes:
PipelineImpl
public interface Pipeline
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<VcsRoot>
getAdditionalVcsRoots()
Additional VcsRoots, added after Pipeline creation.SBuildType
getHead()
String
getId()
List<PipelineIntegrationData>
getIntegrations()
String
getPipelineVersion()
SProject
getProject()
List<PipelineTrigger>
getTriggers()
VcsRoot
getVcsRoot()
The main VcsRoot, which is created on Pipeline creation.PipelineVersionedSettings
getVersionedSettings()
Versioned settings configuration that specifies whether storing YAML file in a repository is enabledString
getYaml()
void
setAdditionalVcsRoots(List<VcsRoot> vcsRoots)
void
setIntegrations(List<PipelineIntegrationData> integrations)
void
setTriggers(List<PipelineTrigger> triggers)
void
setVcsRoot(VcsRoot vcsRoot)
void
setVersionedSettings(PipelineVersionedSettings versionedSettings)
-
-
-
Method Detail
-
getId
@Nullable String getId()
-
getYaml
@NotNull String getYaml()
-
getPipelineVersion
@Nullable String getPipelineVersion()
-
getTriggers
@NotNull List<PipelineTrigger> getTriggers()
-
getIntegrations
@NotNull List<PipelineIntegrationData> getIntegrations()
-
getProject
@NotNull SProject getProject()
-
getHead
@NotNull SBuildType getHead()
-
getVcsRoot
VcsRoot getVcsRoot()
The main VcsRoot, which is created on Pipeline creation.
-
getAdditionalVcsRoots
@NotNull List<VcsRoot> getAdditionalVcsRoots()
Additional VcsRoots, added after Pipeline creation. They are not used in builds, unless explicitly referenced in Job YAML. The main point of this field, is that we can add different credentials to access these repositories.
-
getVersionedSettings
PipelineVersionedSettings getVersionedSettings()
Versioned settings configuration that specifies whether storing YAML file in a repository is enabled
-
setIntegrations
void setIntegrations(List<PipelineIntegrationData> integrations)
-
setTriggers
void setTriggers(List<PipelineTrigger> triggers)
-
setVcsRoot
void setVcsRoot(VcsRoot vcsRoot)
-
setVersionedSettings
void setVersionedSettings(@NotNull PipelineVersionedSettings versionedSettings)
-
-