Package jetbrains.buildServer.artifacts
Class ArtifactDependencyInfo
- java.lang.Object
-
- jetbrains.buildServer.artifacts.BaseArtifactDependency
-
- jetbrains.buildServer.artifacts.ArtifactDependencyInfo
-
- All Implemented Interfaces:
ArtifactDependency
public class ArtifactDependencyInfo extends BaseArtifactDependency
Represents artifact dependency on an agent. Contains additional information that is required on an agent, for example, source build configuration name.
-
-
Constructor Summary
Constructors Constructor Description ArtifactDependencyInfo(String id, String sourceInternalId, String sourceExternalId, String sourcePaths, RevisionRule revisionRule)Represents dependency on one or more artifacts of some build.ArtifactDependencyInfo(ArtifactDependency dependency)Constructs dependency info from the specified ArtifactDependency
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSourceBuildTypeId()Returns internal id of build configuration this artifact belongs toStringgetSourceExternalId()Returns external id of source build configurationStringgetSourceName()Returns full name of the source build configuration.voidsetSourceBuildTypeId(String sourceBuildTypeInternalId)Sets new source build configuration idvoidsetSourceExternalId(String sourceExternalId)voidsetSourceName(String sourceName)Set fullname of the source build configuration-
Methods inherited from class jetbrains.buildServer.artifacts.BaseArtifactDependency
equals, getId, getReferences, getRevisionRule, getSourcePaths, hashCode, isCleanDestinationFolder, isSimilarTo, replaceReferences, setCleanDestinationFolder, setRevisionRule, setSourcePaths, toString
-
-
-
-
Constructor Detail
-
ArtifactDependencyInfo
public ArtifactDependencyInfo(@NotNull String id, @NotNull String sourceInternalId, @NotNull String sourceExternalId, @NotNull String sourcePaths, @NotNull RevisionRule revisionRule)Represents dependency on one or more artifacts of some build.- Parameters:
sourceInternalId- internal id of build configuration where artifacts residesourceExternalId- external id of build configuration where artifacts residesourcePaths- paths to artifacts in source build configurationrevisionRule- rule by which to select build with artifacts
-
ArtifactDependencyInfo
public ArtifactDependencyInfo(@NotNull ArtifactDependency dependency)Constructs dependency info from the specified ArtifactDependency- Parameters:
dependency- dependency
-
-
Method Detail
-
getSourceBuildTypeId
@NotNull public String getSourceBuildTypeId()
Description copied from class:BaseArtifactDependencyReturns internal id of build configuration this artifact belongs to- Specified by:
getSourceBuildTypeIdin interfaceArtifactDependency- Specified by:
getSourceBuildTypeIdin classBaseArtifactDependency- Returns:
- internal id of build configuration containing this artifact
-
setSourceBuildTypeId
public void setSourceBuildTypeId(@NotNull String sourceBuildTypeInternalId)Description copied from class:BaseArtifactDependencySets new source build configuration id- Specified by:
setSourceBuildTypeIdin interfaceArtifactDependency- Specified by:
setSourceBuildTypeIdin classBaseArtifactDependency- Parameters:
sourceBuildTypeInternalId- new source build configuration id
-
getSourceName
@NotNull public String getSourceName()
Returns full name of the source build configuration.- Returns:
- full name of the source build configuration.
-
setSourceName
public void setSourceName(String sourceName)
Set fullname of the source build configuration- Parameters:
sourceName- the source name.
-
setSourceExternalId
public void setSourceExternalId(@NotNull String sourceExternalId)
-
getSourceExternalId
@NotNull public String getSourceExternalId()
Description copied from interface:ArtifactDependencyReturns external id of source build configuration- Specified by:
getSourceExternalIdin interfaceArtifactDependency- Specified by:
getSourceExternalIdin classBaseArtifactDependency- Returns:
- build configuration external id
-
-