Class FeatureOutputNames
Object
FeatureOutputNames
The customizable output names used by
LabelledResultsCollector
, which all follow a
pattern based on a prefix.
The group and aggregated outputs can be toggled on and off.
- Author:
- Owen Feehan
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
If not otherwise specified, the output name for a non-aggregated CSV of the results.static final String
Suffix appended tocsvFeaturesNonAggregated
to form an output-name for aggregated features.static final String
Suffix appended tocsvFeaturesNonAggregated
to form an output-name for aggregated grouped features.static final String
Suffix appended tocsvFeaturesNonAggregated
to form an output-name for grouped features. -
Constructor Summary
ConstructorsConstructorDescriptionCreates using default names, equivalent to a prefix of features.FeatureOutputNames
(String prefix, boolean enableAggregated, boolean enableGroup) Creates output-names based upon a prefix. -
Method Summary
Modifier and TypeMethodDescriptionboolean
calculationResultsNeeded
(MultiLevelOutputEnabled outputEnabled) If any output is enabled that requires calculation of feature results?The CSV of aggregated feature-results, if enabled.The CSV individually written for each group, if enabled.The CSV of non-aggregated feature-results.The name of the XML file outputted with aggregated values for each group, if enabled.
-
Field Details
-
OUTPUT_DEFAULT_NON_AGGREGATED
If not otherwise specified, the output name for a non-aggregated CSV of the results.- See Also:
-
OUTPUT_SUFFIX_AGGREGATED
Suffix appended tocsvFeaturesNonAggregated
to form an output-name for aggregated features.- See Also:
-
OUTPUT_SUFFIX_GROUP
Suffix appended tocsvFeaturesNonAggregated
to form an output-name for grouped features.- See Also:
-
OUTPUT_SUFFIX_AGGREGATED_GROUP
Suffix appended tocsvFeaturesNonAggregated
to form an output-name for aggregated grouped features.- See Also:
-
-
Constructor Details
-
FeatureOutputNames
public FeatureOutputNames()Creates using default names, equivalent to a prefix of features.All outputs are enabled.
-
FeatureOutputNames
Creates output-names based upon a prefix.- Parameters:
prefix
- prefix used to determine the output-names.enableAggregated
- whether to enable the aggregated outputs.enableGroup
- whether to enable the group outputs.
-
-
Method Details
-
calculationResultsNeeded
If any output is enabled that requires calculation of feature results?- Parameters:
outputEnabled
- which outputs are enabled or not.- Returns:
- true if at least one output is enabled that requires calculation of results, false if none do.
-
getCsvFeaturesNonAggregated
The CSV of non-aggregated feature-results. -
getCsvFeaturesAggregated
The CSV of aggregated feature-results, if enabled. -
getCsvFeaturesGroup
The CSV individually written for each group, if enabled. -
getXmlAggregatedGroup
The name of the XML file outputted with aggregated values for each group, if enabled.
-