Class TreeView
java.lang.Object
me.lucko.luckperms.common.treeview.TreeView
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasData()Gets if this TreeView has any content.uploadPasteData(BytebinClient bytebin, Sender sender, User user, PermissionCache checker) Uploads the data contained in this TreeView and returns the id.
-
Constructor Details
-
TreeView
-
-
Method Details
-
hasData
public boolean hasData()Gets if this TreeView has any content.- Returns:
- true if the treeview has data
-
uploadPasteData
public String uploadPasteData(BytebinClient bytebin, Sender sender, User user, PermissionCache checker) throws IOException, UnsuccessfulRequestException Uploads the data contained in this TreeView and returns the id.- Parameters:
bytebin- the bytebin instance to upload tosender- the senderuser- the reference user, or nullchecker- the permission data instance to check against, or null- Returns:
- the id, or null
- Throws:
IOExceptionUnsuccessfulRequestException
-