Interface ICalculationDescriptor
- All Known Subinterfaces:
ICustomCalculationDescriptor
,ISiteCalculationDescriptor
Kind of "abstract" interface - nothing implements it directly.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Report definition. -
Method Summary
Modifier and TypeMethodDescriptionProperties to use during calculation.Calculation report definitions.Arbitrary, human-readable description (if any).Descriptors which this descriptor extends.getGoals()
Maven 2 goals/phases to execute during calculation.getName()
Build name.boolean
Whether this is plain calculation or aggregation.
-
Method Details
-
getName
String getName()Build name.- Returns:
- build name (not
null
)
-
getDescription
String getDescription()Arbitrary, human-readable description (if any).- Returns:
- description or
null
-
getGoals
List getGoals()Maven 2 goals/phases to execute during calculation.What is executed if there are no goals specified depends on concrete subinterface.
-
getCalculationProperties
Properties getCalculationProperties()Properties to use during calculation.System adds other properties defined in system-wide configuration.
- Returns:
- properties (not
null
)
-
isAggregation
boolean isAggregation()Whether this is plain calculation or aggregation.This only influences which local deployment is used -
IBuildArtifact.getResources()
orIBuildArtifact.getAggregationResources()
- and has no other meaning.It is safe to leave it at
false
,true
should be used only if it is assured that aggregation resources are enough for executed reports (note that site calculation will most probably not work with aggregation-only resources).- Returns:
true
if this is supposed to be aggregation,false
otherwise
-
getExtendedDescriptors
List getExtendedDescriptors()Descriptors which this descriptor extends.Note that nothing is guaranteed about returned descriptors - they may or may not exist, be of different type (site or custom), contain cycles, be doubled etc.
-
getCalculationReportDefinitions
List getCalculationReportDefinitions()Calculation report definitions.Specifies how reports calculation should behave.
- Returns:
List
ofICalculationDescriptor.IReportDefinition
s (notnull
)
-