| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Task Framework for Java applications and programs; it can easily be modified for almost anything. Easily implementable and works well with many types of projects. It's used to schedule and execute independent tasks in a controlled manner.
public class ExampleTask implements Task {
public boolean validate() {
return false;
}
public void execute() {
}
public String toString() {
return "";
}
}public class Main {
private static TaskManager task_manager = new TaskManager();
public static void main(String[] args) {
}
}public class Main {
private static TaskManager task_manager = new TaskManager();
public static void main(String[] args) {
addTasks();
}
private static void addTasks() {
task_manager.addTask(new ExampleTask());
}
}public class ExampleMain {
private static TaskManager task_manager = new TaskManager();
public static void main(String[] args) {
run();
}
private static void run() {
ExampleVars.reset();
addTasks();
task_manager.loop(100);
}
private static void addTasks() {
task_manager.addTask(new ExampleTask());
}
}0.4 - 1/13/2017
- Removed constriction with TRiBot. It's no longer using any 3rd party API's
giving the ability to easily adapt to anything.0.3 - 7/9/2016
- Fixed a Bug with a sleep being in the wrong position causing high CPU issues.0.2 - 7/2/2016
- Completely Re-written.
- Added the ability to set the status
- Added the ability to stop the script.
- Added documentation.
- Added ExampleVars.java
- Added ExampleMain.java0.1 - 5/2/2016
- Release Version| Back | FazBrowse Home | New Git URL |