|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.artifacts.BaseArtifactDependency
public abstract class BaseArtifactDependency
Base class for artifact dependency information.
| Constructor Summary | |
|---|---|
protected |
BaseArtifactDependency(java.lang.String sourceBuildTypeId,
java.lang.String sourcePaths,
RevisionRule revisionRule)
Represents dependency on one or more artifacts of some build. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.util.List<java.lang.String> |
getReferences()
Returns references used in this dependency (in destination path, source paths or in the build number) |
RevisionRule |
getRevisionRule()
Returns revision rule for downloaded artifacts. |
java.lang.String |
getSourceBuildTypeId()
Returns build configuration id this artifact belongs to |
java.lang.String |
getSourcePaths()
Returns path to this artifact in the build of the source build configuration |
int |
hashCode()
|
boolean |
isCleanDestinationFolder()
Returns true if destination directory should be cleaned before artifacts downloaded |
void |
replaceReferences(ValueResolver resolver)
Replaces references in this artifact dependency using the provided resolver |
void |
setCleanDestinationFolder(boolean cleanDestinationFolder)
Set to true if destination directory should be cleaned before artifacts processing |
void |
setRevisionRule(RevisionRule revisionRule)
Sets new revision rule to this artifact dependency |
void |
setSourceBuildTypeId(java.lang.String sourceBuildTypeId)
Sets new source build configuration id |
void |
setSourcePaths(java.lang.String paths)
Sets new source paths to this artifact dependency |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jetbrains.buildServer.artifacts.ArtifactDependency |
|---|
getSourceName |
| Constructor Detail |
|---|
protected BaseArtifactDependency(java.lang.String sourceBuildTypeId,
java.lang.String sourcePaths,
RevisionRule revisionRule)
sourceBuildTypeId - build configuration where artifacts residesourcePaths - paths to artifacts in source build configurationrevisionRule - rule by which to select build with artifacts| Method Detail |
|---|
public void setCleanDestinationFolder(boolean cleanDestinationFolder)
setCleanDestinationFolder in interface ArtifactDependencycleanDestinationFolder - true to clean destination directory@NotNull public java.lang.String getSourceBuildTypeId()
getSourceBuildTypeId in interface ArtifactDependencypublic java.lang.String getSourcePaths()
getSourcePaths in interface ArtifactDependencypublic boolean isCleanDestinationFolder()
isCleanDestinationFolder in interface ArtifactDependencypublic RevisionRule getRevisionRule()
ArtifactDependency
getRevisionRule in interface ArtifactDependencypublic java.lang.String toString()
toString in class java.lang.Object
public void setSourceBuildTypeId(@NotNull
java.lang.String sourceBuildTypeId)
setSourceBuildTypeId in interface ArtifactDependencysourceBuildTypeId - new source build configuration id
public void setRevisionRule(@NotNull
RevisionRule revisionRule)
setRevisionRule in interface ArtifactDependencyrevisionRule - new revision rule
public void setSourcePaths(@NotNull
java.lang.String paths)
ArtifactDependency
setSourcePaths in interface ArtifactDependencypaths - paths
public void replaceReferences(@NotNull
ValueResolver resolver)
ArtifactDependency
replaceReferences in interface ArtifactDependencyresolver - replacement mappublic java.util.List<java.lang.String> getReferences()
ArtifactDependency
getReferences in interface ArtifactDependencypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||