public interface InheritanceNode extends ScopedNode<InheritanceNode,InheritanceNode.Builder>
Node used to mark that the holder of the node should inherit
from another group.| Modifier and Type | Interface and Description |
|---|---|
static interface |
InheritanceNode.Builder
A
InheritanceNode builder. |
| Modifier and Type | Method and Description |
|---|---|
static @NonNull InheritanceNode.Builder |
builder()
Creates a
InheritanceNode builder. |
static @NonNull InheritanceNode.Builder |
builder(@NonNull Group group)
Sets the name of group to inherit.
|
static @NonNull InheritanceNode.Builder |
builder(@NonNull String group)
Creates a
InheritanceNode builder. |
@NonNull String |
getGroupName()
Gets the name of the group to be inherited.
|
default @NonNull NodeType<InheritanceNode> |
getType()
Gets the type of the node.
|
toBuilderequals, equals, getContexts, getExpiry, getExpiryDuration, getKey, getMetadata, getValue, hasExpired, hasExpiry, isNegated, metadata, resolveShorthanddefault @NonNull NodeType<InheritanceNode> getType()
NodegetType in interface NodegetType in interface ScopedNode<InheritanceNode,InheritanceNode.Builder>@NonNull String getGroupName()
This is no guarantee that this group exists.
static @NonNull InheritanceNode.Builder builder()
InheritanceNode builder.static @NonNull InheritanceNode.Builder builder(@NonNull String group)
InheritanceNode builder.static @NonNull InheritanceNode.Builder builder(@NonNull Group group)
group - the group name