public class CanCopyContentRule<T> extends AbstractAvailabilityRule<T,CanCopyContentRuleDefinition>
AvailabilityRule
which delegates to ContentClipboard.canCopy(java.util.List)
.Constructor and Description |
---|
CanCopyContentRule(AvailabilityDefinition availabilityDefinition,
CanCopyContentRuleDefinition ruleDefinition,
ContentClipboard<T> contentClipboard,
ValueContext<T> valueContext) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableFor(T item) |
isAvailable, isAvailableForItem, shouldByPass
@Inject public CanCopyContentRule(AvailabilityDefinition availabilityDefinition, CanCopyContentRuleDefinition ruleDefinition, ContentClipboard<T> contentClipboard, ValueContext<T> valueContext)
protected boolean isAvailableFor(T item)
isAvailableFor
in class AbstractAvailabilityRule<T,CanCopyContentRuleDefinition>
Copyright © 2020 Magnolia International Ltd.. All rights reserved.