Class ScriptTask.Builder
- java.lang.Object
-
- com.osrsbots.orb.scripts.framework.task.ScriptTask.Builder
-
- Enclosing interface:
- ScriptTask
public static class ScriptTask.Builder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScriptTask.Builder.Condition
static class
ScriptTask.Builder.Process
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ScriptTask>
collect()
ScriptTask.Builder.Condition
condition(java.util.function.BooleanSupplier condition)
ScriptTask.Builder.Condition
condition(java.util.function.BooleanSupplier condition, int delay)
static ScriptTask.Builder
create()
-
-
-
Method Detail
-
create
public static ScriptTask.Builder create()
-
condition
public ScriptTask.Builder.Condition condition(@Nonnull java.util.function.BooleanSupplier condition)
-
condition
public ScriptTask.Builder.Condition condition(@Nonnull java.util.function.BooleanSupplier condition, int delay)
-
collect
public java.util.List<ScriptTask> collect()
-
-