public class ExecutionStep<V,T>
extends java.lang.Object
| Constructor and Description |
|---|
ExecutionStep(java.util.function.Function<V,T> function,
ExecutionType type) |
ExecutionStep(java.util.function.Function<V,T> function,
ExecutionType type,
java.util.concurrent.CompletableFuture<T> feature) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<T> |
getFeature()
Returns the compleatable future for execution
|
java.util.function.Function<V,T> |
getFunction()
Returns the function to execute
|
ExecutionType |
getType()
Returns the type (POOL or FX Thread)
|
public ExecutionStep(java.util.function.Function<V,T> function, ExecutionType type, java.util.concurrent.CompletableFuture<T> feature)
public ExecutionStep(java.util.function.Function<V,T> function, ExecutionType type)
public java.util.function.Function<V,T> getFunction()
public ExecutionType getType()
public java.util.concurrent.CompletableFuture<T> getFeature()