V - Input parameter type of the progressT - Return parameter type of the progresspublic class ProcessDescription<V,T>
extends java.lang.Object
ProcessChain| Constructor and Description |
|---|
ProcessDescription(java.util.function.Function<V,T> function,
ThreadType threadType)
Creates a new ProcessDescription with the given function and thread type.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Function<V,T> |
getFunction()
Returns the function of the process.
|
ThreadType |
getThreadType()
Returns the thread type of the process
|
public ProcessDescription(java.util.function.Function<V,T> function, ThreadType threadType)
function - defines what this process will dothreadType - defines if the process should be executed om the JavaFX Platform Thread or on a background threadpublic java.util.function.Function<V,T> getFunction()
public ThreadType getThreadType()