Package com.griefdefender.api.claim
Interface ClaimGroup
- All Superinterfaces:
ContextSource
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ClaimGroup.Builderbuilder()Gets a newClaimGroupbuilder instance forClaimGroup.Builder.Gets the creation date of claim group.@Nullable net.kyori.adventure.text.ComponentGets the claim group descriptionComponent.getName()Gets the claim group nameGets theClaimGroupSyncMode.getType()Gets theClaimGroupType.Gets theUUIDassociated with group.@Nullable UUIDGets the user uuid this is associated with if any.Methods inherited from interface com.griefdefender.api.ContextSource
getContext
-
Method Details
-
getUniqueId
UUID getUniqueId()- Returns:
- The claim group uuid
-
getName
String getName()Gets the claim group name- Returns:
- The claim group name
-
getDescription
@Nullable net.kyori.adventure.text.Component getDescription()Gets the claim group descriptionComponent.- Returns:
- The claim group description, if available
-
getDateCreated
Instant getDateCreated()Gets the creation date of claim group.- Returns:
- The claim group creation date
-
getType
ClaimGroupType getType()Gets theClaimGroupType.- Returns:
- The claim group type
-
getSyncMode
ClaimGroupSyncMode getSyncMode()Gets theClaimGroupSyncMode.- Returns:
- The claim group sync mode
-
getUserUniqueId
@Nullable UUID getUserUniqueId()Gets the user uuid this is associated with if any.- Returns:
- The user uuid, if available
-
builder
Gets a newClaimGroupbuilder instance forClaimGroup.Builder.- Returns:
- A new claim group builder instance
-