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.booleanGet whether this result is a success.
-
Method Details
-
isSuccess
public boolean isSuccess()Get whether this result is a success.- Returns:
trueif this is a successful result,falseotherwise.
-
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.
-