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 Details

    • getBuildArtifactSelector

      IBuildArtifactSelector getBuildArtifactSelector()
      Build artifact(s) to which this definition applies (as IBuildArtifactSelector.
      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 if isToBeRebuilt() is true.

      If not specified and isToBeRebuilt() is true 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