Interface WriteProtectionStrategy

All Superinterfaces:
Supplier<BiFunction<WriteProtectionTarget,Class<?>,Predicate<Object>>>

public interface WriteProtectionStrategy extends Supplier<BiFunction<WriteProtectionTarget,Class<?>,Predicate<Object>>>
A strategy that provides write protection for nodes in certain modes.
The strategy has to supply a function from traget and class to a predicate for objects of the given class. Thus predicates can be distinguished by target and a set of certain object types and in the end, for instances itself.
The default implementation does not take the classes for objects into accounts but supplies to same predicate for all objects for a given target.
Author:
Michael J. Simons
  • Method Summary

    Methods inherited from interface java.util.function.Supplier

    get