BuildMaster SDK Reference
Version:

ArtifactPromotionRequirementBase Class

Provides common functionality for artifact-based promotion requirements.

Inheritance Hierarchy

Syntax

public class ArtifactPromotionRequirementBase : PromotionRequirementBase

Constructors

Name Description
ArtifactPromotionRequirementBase

Initializes a new instance of the ArtifactPromotionRequirementBase class.

Properties

Name Description
ArtifactName

Gets or sets the name of the artifact.

ArtifactsBasePath

Gets the Artifacts Base Path on the BuildMaster Server.

DeployableId

Gets or sets the artifact's deployable ID.

Methods

Name Description
GetArtifact(PromotionContext context)

Returns a stream of the raw compressed artifact data.

GetArtifactFileInfo(PromotionContext context, string fileName)

Returns information about a file in an artifact if the file was found; otherwise returns null (Nothing in Visual Basic).

GetArtifactFiles(PromotionContext context)

Returns an array of files contained in the artifact.

OpenArtifactFile(PromotionContext context, string fileName)

Returns a stream backed by a file in an artifact if the file was found; otherwise returns null (Nothing in Visual Basic).