public class DefaultAvailabilityChecker<T> extends Object implements AvailabilityChecker<T>
AvailabilityChecker
.Constructor and Description |
---|
DefaultAvailabilityChecker(info.magnolia.objectfactory.ComponentProvider componentProvider) |
Modifier and Type | Method and Description |
---|---|
protected Stream<AvailabilityRuleDefinition> |
getDefaultRulesDefinitions() |
boolean |
isAvailable(AvailabilityDefinition availabilityDefinition,
List<T> items) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAvailable
@Inject public DefaultAvailabilityChecker(info.magnolia.objectfactory.ComponentProvider componentProvider)
public boolean isAvailable(AvailabilityDefinition availabilityDefinition, List<T> items)
isAvailable
in interface AvailabilityChecker<T>
protected Stream<AvailabilityRuleDefinition> getDefaultRulesDefinitions()
Copyright © 2021 Magnolia International Ltd.. All rights reserved.