Package com.polarion.alm.builder.model
Interface IBuildDescriptor.IBuildDependencyDefinition
- Enclosing interface:
- IBuildDescriptor
public static interface IBuildDescriptor.IBuildDependencyDefinition
Build dependency definition (rebuild policy definition).
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
-
Method Summary
Modifier and TypeMethodDescriptionBuild artifact(s) to which this definition applies (asIBuildArtifactSelector
.Build to run ifisToBeRebuilt()
istrue
.Project to use for building of this artifact.boolean
Whether to rebuild matching artifacts.
-
Method Details
-
getBuildArtifactSelector
IBuildArtifactSelector getBuildArtifactSelector()Build artifact(s) to which this definition applies (asIBuildArtifactSelector
.- Returns:
- build artifact selector (not
null
)
-
isToBeRebuilt
boolean isToBeRebuilt()Whether to rebuild matching artifacts.- Returns:
true
if should be rebuilt
-
getBuildName
String getBuildName()Build to run ifisToBeRebuilt()
istrue
.If not specified and
isToBeRebuilt()
istrue
then current build descriptor name is used.- Returns:
- build descriptor name or
null
-
getProject
String getProject()Project to use for building of this artifact.If not specified then if there is only one artifact available, it is used, if there are more and one of them is from the same project as current artifact, it is used. If nothing applies then the first project (order is not specified) holding given artifact is used.
- Returns:
- project name or
null
-