Interface SyntaxMetricsAccessor.SyntaxMetricsBuilder<B extends SyntaxMetricsAccessor.SyntaxMetricsBuilder<B>>
- Type Parameters:
B- The builder to return in order to be able to apply multiple build operations.
- All Known Subinterfaces:
ArgsProcessorBuilder<B>, ParseArgs
- All Known Implementing Classes:
ArgsParser, CliContext.Builder
- Enclosing interface:
SyntaxMetricsAccessor
public static interface SyntaxMetricsAccessor.SyntaxMetricsBuilder<B extends SyntaxMetricsAccessor.SyntaxMetricsBuilder<B>>
Provides a builder method for a
SyntaxMetrics property returning
the builder for applying multiple build operations.-
Method Summary
Modifier and TypeMethodDescriptionwithSyntaxMetrics(SyntaxMetrics aSyntaxMetrics) Sets theSyntaxMetricsfor theSyntaxMetricsproperty.default BwithSyntaxMetrics(SyntaxNotation aSyntaxNotation) Sets theSyntaxNotationfor theSyntaxNotationproperty.
-
Method Details
-
withSyntaxMetrics
Sets theSyntaxMetricsfor theSyntaxMetricsproperty.- Parameters:
aSyntaxMetrics- TheSyntaxMetricsto be stored by theSyntaxMetricsproperty.- Returns:
- The builder for applying multiple build operations.
-
withSyntaxMetrics
Sets theSyntaxNotationfor theSyntaxNotationproperty.- Parameters:
aSyntaxNotation- TheSyntaxNotationto be stored by theSyntaxNotationproperty.- Returns:
- The builder for applying multiple build operations.
-