- All Superinterfaces:
MatchCountAccessor
,MatchCountAccessor.MatchCountMutator
- Enclosing interface:
MatchCountAccessor
public static interface MatchCountAccessor.MatchCountProperty
extends MatchCountAccessor, MatchCountAccessor.MatchCountMutator
Provides a match-count property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.cli.MatchCountAccessor
MatchCountAccessor.MatchCountBuilder<B extends MatchCountAccessor.MatchCountBuilder<B>>, MatchCountAccessor.MatchCountMutator, MatchCountAccessor.MatchCountProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letMatchCount
(int aMatchCount) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofMatchCountAccessor.MatchCountMutator.setMatchCount(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.cli.MatchCountAccessor
getMatchCount
Methods inherited from interface org.refcodes.cli.MatchCountAccessor.MatchCountMutator
setMatchCount
-
Method Details
-
letMatchCount
default int letMatchCount(int aMatchCount) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofMatchCountAccessor.MatchCountMutator.setMatchCount(int)
and returns the very same value (getter).- Parameters:
aMatchCount
- The value to set (viaMatchCountAccessor.MatchCountMutator.setMatchCount(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-