Package com.plotsquared.core.util
Class PlotUploader.PlotUploadResult
java.lang.Object
com.plotsquared.core.util.PlotUploader.PlotUploadResult
- Enclosing class:
- PlotUploader
A result of a plot upload process.
-
Method Summary
Modifier and TypeMethodDescriptionGet the url that can be used to delete the uploaded plot schematic.Get the url that can be used to download the uploaded plot schematic.boolean
Get whether this result is a success.
-
Method Details
-
isSuccess
public boolean isSuccess()Get whether this result is a success.- Returns:
true
if this is a successful result,false
otherwise.
-
getDownloadUrl
Get the url that can be used to download the uploaded plot schematic.- Returns:
- The url to download the schematic.
-
getDeletionUrl
Get the url that can be used to delete the uploaded plot schematic.- Returns:
- The url to delete the schematic.
-