Interface SnapshotCreateSettings.Builder

Enclosing interface:
SnapshotCreateSettings

public static interface SnapshotCreateSettings.Builder
  • Method Details

    • getGroup

      @Nullable String getGroup()
      Gets the group associated with a
      invalid reference
      Type
      .
      Returns:
      The group, if available
    • getUserUniqueId

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

      Gets the create ClaimSnapshotType.
      Returns:
      The create type
    • getCreateSchematic

      boolean getCreateSchematic()
      Gets whether a schematic will be created.
      Returns:
      True if schematic will be created, false if not
    • getCopyClaimSettings

      boolean getCopyClaimSettings()
      Gets whether claim settings will be copied.
      Returns:
      True if claim settings will be copied, false if not
    • getCopyOptions

      boolean getCopyOptions()
      Gets whether claim options will be copied.
      Returns:
      True if claim options will be copied, false if not
    • getCopyPermissions

      boolean getCopyPermissions()
      Gets whether claim permissions will be copied.
      Returns:
      True if claim permissions will be copied, false if not
    • getCopyTrust

      boolean getCopyTrust()
      Gets whether claim trust will be copied.
      Returns:
      True if claim trust will be copied, false if not
    • includeChildren

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

      SnapshotCreateSettings.Builder createSchematic(boolean create)
      Sets whether to create a schematic of claim.
      Parameters:
      create - True to create schematic, false if not
      Returns:
      The builder
    • copyClaimSettings

      SnapshotCreateSettings.Builder copyClaimSettings(boolean copy)
      Sets whether claim settings should be copied.
      Parameters:
      copy - True to copy, false if not
      Returns:
      The builder
    • copyOptions

      SnapshotCreateSettings.Builder copyOptions(boolean copy)
      Sets whether option data should be copied.
      Parameters:
      copy - True to copy, false if not
      Returns:
      The builder
    • copyPermissions

      SnapshotCreateSettings.Builder copyPermissions(boolean copy)
      Sets whether permission data should be copied.
      Parameters:
      copy - True to copy, false if not
      Returns:
      The builder
    • copyTrust

      SnapshotCreateSettings.Builder copyTrust(boolean copy)
      Sets whether trust data should be copied.
      Parameters:
      copy - True to copy, false if not
      Returns:
      The builder
    • type

      Sets the creation ClaimSnapshotType.
      Parameters:
      type - The creation type
      Returns:
      The builder
    • group

      Sets the group name.
      Parameters:
      group - The group name
      Returns:
      The builder
    • user

      Sets the user UUID. Note: This only applies to
      invalid reference
      Type#PLAYER
      .
      Parameters:
      uuid - The user uuid
      Returns:
      The builder
    • children

      SnapshotCreateSettings.Builder children(boolean includeChildren)
      Sets whether to include children.
      Parameters:
      includeChildren - True to include, false if not
      Returns:
      The builder
    • reset

      Resets the builder to default settings.
      Returns:
      The builder
    • build

      Returns:
      The snapshot creation settings