Interface IBuildArtifactRecognizer.IRecognizedBuildArtifact

All Known Subinterfaces:
IPreparedBuildArtifact
Enclosing interface:
IBuildArtifactRecognizer

public static interface IBuildArtifactRecognizer.IRecognizedBuildArtifact
Recognized build artifact.

This directly corresponds to one artifact from artifacts.xml.

Version:
$Revision$ $Date$
Author:
Stepan Roh, Polarion Software
  • Method Details

    • getType

      String getType()
      Artifact type.
      Returns:
      artifact type (not null)
    • getRepositoryTag

      String getRepositoryTag()
      Repository tag (if any).
      Returns:
      repository tag or null
    • getBaseLocation

      ILocation getBaseLocation()
      Base location for this build artifact.

      Normally it is set from IBuildArtifactRecognizer.recognizeBuildArtifacts(ISourceRepository, ILocation, ILocation)'s rootFolder (or folder), but for external artifacts it may be set to arbitrary location.

      Base location should contain all resources for this artifact (no resources should be located in parent folders or in other unrelated folders).

      May return null if and only if this represents build artifact not located in repository (not achievable through IBuildArtifactRecognizer) or if this comes from configuration and should be derived later.

      Returns:
      base location or null in special case
    • getResources

      List getResources()
      Resources which comprise this artifact.

      Returned locations are relative to base location.

      Is empty for project groups.

      Returns:
      List of ILocalDeploymentDefinitions (not null)
    • getAggregationResources

      List getAggregationResources()
      Resources which are needed for reports aggregation (minimal set of resources).

      Returned locations are relative to base location.

      Is empty for project groups.

      Returns:
      List of ILocalDeploymentDefinitions (not null)
    • getConfiguration

      Element getConfiguration()
      Additional build artifact configuration (if any).
      Returns:
      DOM element or null