public class FeatureOutputNames extends Object
LabelledResultsCollector
, which all follow a
pattern based on a prefix.
The group and aggregated outputs can be toggled on and off.
Modifier and Type | Field and Description |
---|---|
static String |
OUTPUT_DEFAULT_NON_AGGREGATED
If not otherwise specified, the output name for a non-aggregated CSV of the results.
|
static String |
OUTPUT_SUFFIX_AGGREGATED
Suffix appended to
csvFeaturesNonAggregated to form an output-name for aggregated
features. |
static String |
OUTPUT_SUFFIX_AGGREGATED_GROUP
Suffix appended to
csvFeaturesNonAggregated to form an output-name for aggregated
grouped features. |
static String |
OUTPUT_SUFFIX_GROUP
Suffix appended to
csvFeaturesNonAggregated to form an output-name for grouped
features. |
Constructor and Description |
---|
FeatureOutputNames()
Creates using default names, equivalent to a prefix of features.
|
FeatureOutputNames(String prefix,
boolean enableAggregated,
boolean enableGroup)
Creates output-names based upon a prefix.
|
Modifier and Type | Method and Description |
---|---|
boolean |
calculationResultsNeeded(MultiLevelOutputEnabled outputEnabled)
If any output is enabled that requires calculation of feature results?
|
Optional<String> |
getCsvFeaturesAggregated()
The CSV of aggregated feature-results, if enabled.
|
Optional<String> |
getCsvFeaturesGroup()
The CSV individually written for each group, if enabled.
|
String |
getCsvFeaturesNonAggregated()
The CSV of non-aggregated feature-results.
|
Optional<String> |
getXmlAggregatedGroup()
The name of the XML file outputted with aggregated values for each group, if enabled.
|
public static final String OUTPUT_DEFAULT_NON_AGGREGATED
public static final String OUTPUT_SUFFIX_AGGREGATED
csvFeaturesNonAggregated
to form an output-name for aggregated
features.public static final String OUTPUT_SUFFIX_GROUP
csvFeaturesNonAggregated
to form an output-name for grouped
features.public static final String OUTPUT_SUFFIX_AGGREGATED_GROUP
csvFeaturesNonAggregated
to form an output-name for aggregated
grouped features.public FeatureOutputNames()
All outputs are enabled.
public FeatureOutputNames(String prefix, boolean enableAggregated, boolean enableGroup)
prefix
- prefix used to determine the output-names.enableAggregated
- whether to enable the aggregated outputs.enableGroup
- whether to enable the group outputs.public boolean calculationResultsNeeded(MultiLevelOutputEnabled outputEnabled)
outputEnabled
- which outputs are enabled or not.public String getCsvFeaturesNonAggregated()
public Optional<String> getCsvFeaturesAggregated()
public Optional<String> getCsvFeaturesGroup()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.