Interface IBuildArtifactRecognizer.IRecognizedBuildArtifact
- All Known Subinterfaces:
IPreparedBuildArtifact
- Enclosing interface:
- IBuildArtifactRecognizer
This directly corresponds to one artifact
from artifacts.xml
.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
-
Method Summary
Modifier and TypeMethodDescriptionResources which are needed for reports aggregation (minimal set of resources).Base location for this build artifact.Additional build artifact configuration (if any).Repository tag (if any).Resources which comprise this artifact.getType()
Artifact type.
-
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)
'srootFolder
(orfolder
), 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 throughIBuildArtifactRecognizer
) 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
ofILocalDeploymentDefinition
s (notnull
)
-
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
ofILocalDeploymentDefinition
s (notnull
)
-
getConfiguration
Element getConfiguration()Additional build artifact configuration (if any).- Returns:
- DOM element or
null
-