public class ArtifactDependencyInfo extends BaseArtifactDependency
Constructor and Description |
---|
ArtifactDependencyInfo(ArtifactDependency dependency)
Constructs dependency info from the specified ArtifactDependency
|
ArtifactDependencyInfo(java.lang.String id,
java.lang.String sourceInternalId,
java.lang.String sourceExternalId,
java.lang.String sourcePaths,
RevisionRule revisionRule)
Represents dependency on one or more artifacts of some build.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSourceBuildTypeId()
Returns internal id of build configuration this artifact belongs to
|
java.lang.String |
getSourceExternalId()
Returns external id of source build configuration
|
java.lang.String |
getSourceName()
Returns full name of the source build configuration.
|
void |
setSourceBuildTypeId(java.lang.String sourceBuildTypeInternalId)
Sets new source build configuration id
|
void |
setSourceExternalId(java.lang.String sourceExternalId) |
void |
setSourceName(java.lang.String sourceName)
Set fullname of the source build configuration
|
equals, getId, getReferences, getRevisionRule, getSourcePaths, hashCode, isCleanDestinationFolder, isSimilarTo, replaceReferences, setCleanDestinationFolder, setRevisionRule, setSourcePaths, toString
public ArtifactDependencyInfo(@NotNull java.lang.String id, @NotNull java.lang.String sourceInternalId, @NotNull java.lang.String sourceExternalId, @NotNull java.lang.String sourcePaths, @NotNull RevisionRule revisionRule)
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 artifactspublic ArtifactDependencyInfo(@NotNull ArtifactDependency dependency)
dependency
- dependency@NotNull public java.lang.String getSourceBuildTypeId()
BaseArtifactDependency
getSourceBuildTypeId
in interface ArtifactDependency
getSourceBuildTypeId
in class BaseArtifactDependency
public void setSourceBuildTypeId(@NotNull java.lang.String sourceBuildTypeInternalId)
BaseArtifactDependency
setSourceBuildTypeId
in interface ArtifactDependency
setSourceBuildTypeId
in class BaseArtifactDependency
sourceBuildTypeInternalId
- new source build configuration id@NotNull public java.lang.String getSourceName()
public void setSourceName(java.lang.String sourceName)
sourceName
- the source name.public void setSourceExternalId(@NotNull java.lang.String sourceExternalId)
@NotNull public java.lang.String getSourceExternalId()
ArtifactDependency
getSourceExternalId
in interface ArtifactDependency
getSourceExternalId
in class BaseArtifactDependency