Interface SnapshotCreateSettings


public interface SnapshotCreateSettings
Represents creation settings used to create a ClaimSnapshot.
  • Method Details

    • getType

      Gets the creation
      invalid reference
      Type
      .
      Returns:
      The creation type
    • getGroup

      @Nullable String getGroup()
      The group associated with a
      invalid reference
      Type
      . Note: This does not apply to
      invalid reference
      Type#CLAIM
      .
      Returns:
      The group
    • getUserUniqueId

      @Nullable UUID getUserUniqueId()
      The user associated with
      invalid reference
      Type#PLAYER
      .
      Returns:
      The user uuid, if available
    • createSchematic

      boolean createSchematic()
      Whether to create schematic.
      Returns:
      True if creating schematic, false if not
    • copyClaimSettings

      boolean copyClaimSettings()
      Whether to copy claim settings.
      Returns:
      True if copying claim settings, false if not
    • copyOptions

      boolean copyOptions()
      Whether to copy option data.
      Returns:
      True if copying option data, false if not
    • copyPermissions

      boolean copyPermissions()
      Whether to copy permission data.
      Returns:
      True if copying permission data, false if not
    • copyTrust

      boolean copyTrust()
      Whether to copy trust data.
      Returns:
      True if copying trust data, false if not
    • includeChildren

      boolean includeChildren()
      Gets whether to include children claims.
      Returns:
      True if children included, false if not
    • setType

      void setType(ClaimSnapshotType type)
      Sets the creation
      invalid reference
      Type
      .
      Parameters:
      type - The creation type
    • setGroup

      void setGroup(String group)
      Sets the group name.
      Parameters:
      group - The group name
    • setUserUniqueId

      void setUserUniqueId(UUID uuid)
      Sets the user UUID. Note: This only applies to
      invalid reference
      Type#PLAYER
      .
      Parameters:
      uuid - The user uuid
    • setCopyClaimSettings

      void setCopyClaimSettings(boolean copy)
      Sets whether to copy claim settings.
      Parameters:
      copy -
    • setCopyOptions

      void setCopyOptions(boolean copy)
      Sets whether to copy option data.
      Parameters:
      copy -
    • setCopyPermissions

      void setCopyPermissions(boolean copy)
      Sets whether to copy permission data.
      Parameters:
      copy -
    • setCopyTrust

      void setCopyTrust(boolean copy)
      Sets whether to copy trust data.
      Parameters:
      copy -
    • setCreateSchematic

      void setCreateSchematic(boolean create)
      Sets whether to copy schematic data.
      Parameters:
      create -
    • setIncludeChildren

      void setIncludeChildren(boolean includeChildren)
      Sets whether to include children.
      Parameters:
      includeChildren -
    • builder