Package org.apache.juneau.bct
Class BctConfiguration.Defaults
java.lang.Object
org.apache.juneau.bct.BctConfiguration.Defaults
- Enclosing class:
- BctConfiguration
Holder for
@Value-resolved BCT default sort flags.
Constructed by BctConfiguration.defaults() via BeanInstantiator; both fields are populated
by @Value annotations whose SVL expressions inline the canonical
BctConfiguration.BCT_SORT_MAPS and BctConfiguration.BCT_SORT_COLLECTIONS property names as string literals
(per the project-wide rule that every @Value expression is a fully self-contained
string literal — no concatenation with Java constants). The constants remain the
canonical reference for external callers (Listifiers, BctConfigExtension,
and the BctConfiguration.set/get helpers).
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefaults()Constructor — instantiated byBeanInstantiatorviaBctConfiguration.defaults(). -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the resolvedBct.sortCollectionsdefault.booleanReturns the resolvedBct.sortMapsdefault.
-
Constructor Details
-
Defaults
protected Defaults()Constructor — instantiated byBeanInstantiatorviaBctConfiguration.defaults().
-
-
Method Details
-
isSortMaps
Returns the resolvedBct.sortMapsdefault.- Returns:
truewhen theBctConfiguration.BCT_SORT_MAPSproperty is set to a truthy value,falseotherwise.
-
isSortCollections
Returns the resolvedBct.sortCollectionsdefault.- Returns:
truewhen theBctConfiguration.BCT_SORT_COLLECTIONSproperty is set to a truthy value,falseotherwise.
-