Package org.azd.interfaces
Interface BuildDetails
- All Known Implementing Classes:
BuildApi
public interface BuildDetails
-
Method Summary
Modifier and TypeMethodDescriptionaddBuildTag
(int buildId, String tag) addBuildTags
(int buildId, List<String> tags) addDefinitionTag
(int definitionId, String tag) addDefinitionTags
(int definitionId, List<String> tags) cloneBuildDefinition
(String definitionName, String definitionCloneName) createArtifact
(int buildId, BuildArtifact artifact) createBuildDefinition
(String buildDefinitionParameters) createBuildDefinition
(BuildDefinition buildDefinition, Number definitionToCloneId, Number definitionToCloneRevision) createFolder
(String path, Folder folder) deleteBuild
(int buildId) deleteBuildDefinition
(int definitionId) deleteBuildTag
(int buildId, String tag) deleteDefinitionTag
(int definitionId, String tag) deleteFolder
(String path) getArtifact
(int buildId, String artifactName) getArtifactAsZip
(int buildId, String artifactName) getArtifactFile
(int buildId, String artifactName, String fileId, String fileName) getArtifacts
(int buildId) getAttachments
(int buildId, String type) getBranches
(String providerName, String serviceEndpointId, String repositoryName) getBranches
(String providerName, String serviceEndpointId, String repositoryName, String branchName) getBuild
(int buildId) getBuildChanges
(int buildId) getBuildChanges
(int buildId, int top, String continuationToken, boolean includeSourceChange) getBuildController
(int controllerId) getBuildControllers
(String name) getBuildDefinition
(int definitionId) getBuildDefinition
(int definitionId, boolean includeLatestBuilds, String minMetricsTime, int revision) getBuildDefinitionRevisions
(int definitionId) getBuildDefinitions
(boolean includeAllProperties, boolean includeLatestBuilds) getBuildDefinitions
(int top) getBuildDefinitions
(int[] definitionIds) getBuildDefinitions
(String name) getBuildDefinitions
(String builtAfter, String continuationToken, boolean includeAllProperties, boolean includeLatestBuilds, String minMetricsTime, String notBuiltAfter, String path, int processType, DefinitionQueryOrder queryOrder, String repositoryId, String repositoryType, String taskIdFilter, String yamlFilename) getBuildLog
(int buildId, int logId) getBuildLog
(int buildId, int logId, long startLine, long endLine) getBuildLogs
(int buildId) getBuilds
(int top) getBuilds
(int[] buildIds) getBuilds
(int top, String branchName, String buildNumber, String continuationToken, int[] definitions, QueryDeletedOption deletedFilter, int maxBuildsPerDefinition, String maxTime, String minTime, String[] properties, BuildQueryOrder queryOrder, int[] queues, BuildReason reasonFilter, String repositoryId, String repositoryType, String requestedFor, BuildResult resultFilter, BuildStatus statusFilter, String tagFilters) getBuildTags
(int buildId) getBuildWorkItems
(int buildId) getBuildWorkItems
(int buildId, int top) getChangesBetweenBuilds
(int fromBuildId, int toBuildId, int top) getDefinitionTags
(int definitionId) getDefinitionTags
(int definitionId, int revision) getFileContents
(String providerName, String serviceEndpointId, String repositoryName, String branchName, String path) getFolders
(String path, FolderQueryOrder queryOrder) getPathContents
(String providerName, String serviceEndpointId, String repositoryName, String branchName, String filePath) getPullRequest
(String providerName, String pullRequestId, String repositoryName, String serviceEndpointId) getRepositories
(String providerName, String serviceEndpointId) getRepositories
(String providerName, String serviceEndpointId, String repositoryName) getRepositories
(String providerName, String serviceEndpointId, String repositoryName, String continuationToken, boolean pageResults, SourceProviderResultSet resultSet) getTags()
getTimeline
(int buildId) getTimeline
(int buildId, String timelineId) getTimeline
(int buildId, String timelineId, int changeId, String planId) getWebHooks
(String providerName, String serviceEndpointId, String repositoryName) getWorkItemsBetweenBuilds
(int fromBuildId, int toBuildId, int top) getYaml
(int definitionId) getYaml
(int definitionId, boolean includeLatestBuilds, String minMetricsTime, String[] propertyFilters, Number revision) queueBuild
(int definitionId) queueBuild
(Build buildParameters) restoreBuildDefinition
(int definitionId, boolean deleted) restoreWebHooks
(String providerName, String serviceEndpointId, String repositoryName, List<String> triggerTypes) updateBuild
(Build build, int buildId, boolean retry) updateBuildDefinition
(BuildDefinition definition) updateBuildDefinition
(BuildDefinition definition, Number secretsSourceDefinitionId, Number secretsSourceDefinitionRevision) updateBuilds
(Builds builds) updateBuildStage
(int buildId, String stageReferenceName, boolean forceRetryAllJobs, StageUpdateType state) updateBuildTags
(int buildId, List<String> tags, boolean toRemove) updateDefinitionTags
(int definitionId, List<String> tags, boolean toRemove) updateFolder
(String path, Folder folder)
-
Method Details
-
deleteBuild
- Throws:
AzDException
-
getBuild
- Throws:
AzDException
-
getBuildChanges
- Throws:
AzDException
-
getBuildChanges
BuildChanges getBuildChanges(int buildId, int top, String continuationToken, boolean includeSourceChange) throws AzDException - Throws:
AzDException
-
getBuildLog
- Throws:
AzDException
-
getBuildLog
- Throws:
AzDException
-
getBuildLogs
- Throws:
AzDException
-
getBuildWorkItems
- Throws:
AzDException
-
getBuildWorkItems
- Throws:
AzDException
-
getChangesBetweenBuilds
- Throws:
AzDException
-
getWorkItemsBetweenBuilds
BuildWorkItems getWorkItemsBetweenBuilds(int fromBuildId, int toBuildId, int top) throws AzDException - Throws:
AzDException
-
getBuilds
- Throws:
AzDException
-
getBuilds
- Throws:
AzDException
-
getBuilds
- Throws:
AzDException
-
getBuilds
Builds getBuilds(int top, String branchName, String buildNumber, String continuationToken, int[] definitions, QueryDeletedOption deletedFilter, int maxBuildsPerDefinition, String maxTime, String minTime, String[] properties, BuildQueryOrder queryOrder, int[] queues, BuildReason reasonFilter, String repositoryId, String repositoryType, String requestedFor, BuildResult resultFilter, BuildStatus statusFilter, String tagFilters) throws AzDException - Throws:
AzDException
-
queueBuild
- Throws:
AzDException
-
queueBuild
- Throws:
AzDException
-
updateBuild
- Throws:
AzDException
-
updateBuilds
- Throws:
AzDException
-
getBuildControllers
- Throws:
AzDException
-
getBuildControllers
- Throws:
AzDException
-
getBuildController
- Throws:
AzDException
-
createBuildDefinition
- Throws:
AzDException
-
createBuildDefinition
BuildDefinition createBuildDefinition(BuildDefinition buildDefinition, Number definitionToCloneId, Number definitionToCloneRevision) throws AzDException - Throws:
AzDException
-
cloneBuildDefinition
BuildDefinition cloneBuildDefinition(String definitionName, String definitionCloneName) throws AzDException - Throws:
AzDException
-
deleteBuildDefinition
- Throws:
AzDException
-
getBuildDefinition
- Throws:
AzDException
-
getBuildDefinition
BuildDefinition getBuildDefinition(int definitionId, boolean includeLatestBuilds, String minMetricsTime, int revision) throws AzDException - Throws:
AzDException
-
getBuildDefinitionRevisions
- Throws:
AzDException
-
getBuildDefinitions
- Throws:
AzDException
-
getBuildDefinitions
- Throws:
AzDException
-
getBuildDefinitions
- Throws:
AzDException
-
getBuildDefinitions
- Throws:
AzDException
-
getBuildDefinitions
BuildDefinitions getBuildDefinitions(boolean includeAllProperties, boolean includeLatestBuilds) throws AzDException - Throws:
AzDException
-
getBuildDefinitions
BuildDefinitions getBuildDefinitions(String builtAfter, String continuationToken, boolean includeAllProperties, boolean includeLatestBuilds, String minMetricsTime, String notBuiltAfter, String path, int processType, DefinitionQueryOrder queryOrder, String repositoryId, String repositoryType, String taskIdFilter, String yamlFilename) throws AzDException - Throws:
AzDException
-
restoreBuildDefinition
- Throws:
AzDException
-
updateBuildDefinition
- Throws:
AzDException
-
updateBuildDefinition
BuildDefinition updateBuildDefinition(BuildDefinition definition, Number secretsSourceDefinitionId, Number secretsSourceDefinitionRevision) throws AzDException - Throws:
AzDException
-
createFolder
- Throws:
AzDException
-
deleteFolder
- Throws:
AzDException
-
getFolders
- Throws:
AzDException
-
getFolders
- Throws:
AzDException
-
updateFolder
- Throws:
AzDException
-
addBuildTag
- Throws:
AzDException
-
addBuildTags
- Throws:
AzDException
-
addDefinitionTag
- Throws:
AzDException
-
addDefinitionTags
- Throws:
AzDException
-
deleteBuildTag
- Throws:
AzDException
-
deleteDefinitionTag
- Throws:
AzDException
-
deleteTag
- Throws:
AzDException
-
getBuildTags
- Throws:
AzDException
-
getDefinitionTags
- Throws:
AzDException
-
getDefinitionTags
- Throws:
AzDException
-
getTags
- Throws:
AzDException
-
updateBuildTags
- Throws:
AzDException
-
updateDefinitionTags
BuildTags updateDefinitionTags(int definitionId, List<String> tags, boolean toRemove) throws AzDException - Throws:
AzDException
-
getYaml
- Throws:
AzDException
-
getYaml
YamlBuild getYaml(int definitionId, boolean includeLatestBuilds, String minMetricsTime, String[] propertyFilters, Number revision) throws AzDException - Throws:
AzDException
-
updateBuildStage
Void updateBuildStage(int buildId, String stageReferenceName, boolean forceRetryAllJobs, StageUpdateType state) throws AzDException - Throws:
AzDException
-
getFileContents
String getFileContents(String providerName, String serviceEndpointId, String repositoryName, String branchName, String path) throws AzDException - Throws:
AzDException
-
getPathContents
SourceRepositoryItems getPathContents(String providerName, String serviceEndpointId, String repositoryName, String branchName, String filePath) throws AzDException - Throws:
AzDException
-
getPullRequest
SourceProviderPullRequest getPullRequest(String providerName, String pullRequestId, String repositoryName, String serviceEndpointId) throws AzDException - Throws:
AzDException
-
getSourceProviders
- Throws:
AzDException
-
getBranches
SourceProviderBranches getBranches(String providerName, String serviceEndpointId, String repositoryName) throws AzDException - Throws:
AzDException
-
getBranches
SourceProviderBranches getBranches(String providerName, String serviceEndpointId, String repositoryName, String branchName) throws AzDException - Throws:
AzDException
-
getRepositories
SourceRepositories getRepositories(String providerName, String serviceEndpointId) throws AzDException - Throws:
AzDException
-
getRepositories
SourceRepositories getRepositories(String providerName, String serviceEndpointId, String repositoryName) throws AzDException - Throws:
AzDException
-
getRepositories
SourceRepositories getRepositories(String providerName, String serviceEndpointId, String repositoryName, String continuationToken, boolean pageResults, SourceProviderResultSet resultSet) throws AzDException - Throws:
AzDException
-
getWebHooks
RepositoryWebhooks getWebHooks(String providerName, String serviceEndpointId, String repositoryName) throws AzDException - Throws:
AzDException
-
restoreWebHooks
Void restoreWebHooks(String providerName, String serviceEndpointId, String repositoryName, List<String> triggerTypes) throws AzDException - Throws:
AzDException
-
getTimeline
- Throws:
AzDException
-
getTimeline
- Throws:
AzDException
-
getTimeline
Timeline getTimeline(int buildId, String timelineId, int changeId, String planId) throws AzDException - Throws:
AzDException
-
createArtifact
- Throws:
AzDException
-
getArtifact
- Throws:
AzDException
-
getArtifactAsZip
- Throws:
AzDException
-
getArtifactFile
InputStream getArtifactFile(int buildId, String artifactName, String fileId, String fileName) throws AzDException - Throws:
AzDException
-
getArtifacts
- Throws:
AzDException
-
getAttachments
- Throws:
AzDException
-