Class Utils
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.version.Utils
-
public final class Utils extends Object
Utils
provide some utility methods.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isFrozenNodeReferenceable(@NotNull ReadOnlyNodeTypeManager ntMgr)
Returnstrue
iff there is ant:frozenNode
definition and the definition has amix:referenceable
supertype.static boolean
isFrozenNodeReferenceable(@NotNull NodeState root)
Returnstrue
iff there is ant:frozenNode
definition and the definition has amix:referenceable
supertype.
-
-
-
Method Detail
-
isFrozenNodeReferenceable
public static boolean isFrozenNodeReferenceable(@NotNull @NotNull NodeState root)
Returnstrue
iff there is ant:frozenNode
definition and the definition has amix:referenceable
supertype.- Parameters:
root
- the root of a repository from where to read the node type information.- Returns:
true
if frozen nodes are referenceable,false
otherwise.
-
isFrozenNodeReferenceable
public static boolean isFrozenNodeReferenceable(@NotNull @NotNull ReadOnlyNodeTypeManager ntMgr)
Returnstrue
iff there is ant:frozenNode
definition and the definition has amix:referenceable
supertype.- Parameters:
ntMgr
- a node type manager to access the node types.- Returns:
true
if frozen nodes are referenceable,false
otherwise.
-
-