Class PlotUploader.PlotUploadResult

java.lang.Object
com.plotsquared.core.util.PlotUploader.PlotUploadResult
Enclosing class:
PlotUploader

public static class PlotUploader.PlotUploadResult extends Object
A result of a plot upload process.
  • Method Details

    • isSuccess

      public boolean isSuccess()
      Get whether this result is a success.
      Returns:
      true if this is a successful result, false otherwise.
    • getDownloadUrl

      public String getDownloadUrl()
      Get the url that can be used to download the uploaded plot schematic.
      Returns:
      The url to download the schematic.
    • getDeletionUrl

      public String getDeletionUrl()
      Get the url that can be used to delete the uploaded plot schematic.
      Returns:
      The url to delete the schematic.