Skip to content

Commit 536a23b

Browse files
committed
Add java docs
1 parent 781a7c6 commit 536a23b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/dev/themeinerlp/plugindebug/DebugBuilder.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ public T addYAML(String yaml, String uiTabName) throws IOException {
9999
return (T) this;
100100
}
101101

102+
/**
103+
* Upload the debug to bytebin server
104+
* @return an object with bytebin server address and upload code
105+
* @throws IOException throws when java don't have access to temp dir
106+
*/
102107
public DebugUploadResult upload() throws IOException {
103108
var tempFolder = Files.createTempDirectory(tempFile);
104109
var zipFile = tempFolder.resolve("debug.zip");

0 commit comments

Comments
 (0)