MCPcopy Create free account
hub / github.com/TheCyaniteProject/exit_code_java / addLoginTask

Method addLoginTask

src/main/java/exitcode/API.java:85–87  ·  view source on GitHub ↗

Adds a new function to login_tasks. These are Runnable's to be executed after the Login Page loads. @param uniqueObjectIdentifier This is a String ID that should be unique to a single function, or other resource. This is used to help troubleshoot problems, and enable you to reference your addon's i

(String uniqueObjectIdentifier, Runnable function)

Source from the content-addressed store, hash-verified

83 * @param function This is the Runnable to be executed.
84 */
85 public static void addLoginTask(String uniqueObjectIdentifier, Runnable function) {
86 API.login_tasks.put(uniqueObjectIdentifier, function);
87 }
88
89 /**
90 * Adds a new function to desktop_tasks.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected