public class NetworkTask
extends java.lang.Object
Constructor and Description |
---|
NetworkTask() |
Modifier and Type | Method and Description |
---|---|
int[] |
getChunks()
List of chunk keys to be processed.
|
int[] |
getFrames(int chunk)
Get list of frames to be processed for a chunk.
|
boolean |
getGpuSupport()
GPU support flag.
|
java.lang.String |
getName()
Task name.
|
java.lang.Object |
getParameter(java.lang.String name)
Get parameter value.
|
java.lang.String[] |
getParameterNames()
List of configured parameter names.
|
java.lang.String |
getParametersText()
Formatted task parameters.
|
java.lang.String |
getTitle()
Task title.
|
boolean |
hasParameter(java.lang.String name)
Check if parameter is configured.
|
void |
removeParameter(java.lang.String name)
Remove parameter.
|
void |
setChunks(int[] chunks)
List of chunk keys to be processed.
|
void |
setFrames(int chunk,
int[] frames)
Set list of frames to be processed for a chunk.
|
void |
setGpuSupport(boolean enable)
GPU support flag.
|
void |
setName(java.lang.String name)
Task name.
|
void |
setParameter(java.lang.String name,
java.lang.Object value)
Set parameter value.
|
void |
setParametersText(java.lang.String params_text)
Formatted task parameters.
|
void |
setTitle(java.lang.String title)
Task title.
|
public void setName(java.lang.String name)
public java.lang.String getName()
public void setTitle(java.lang.String title)
public java.lang.String getTitle()
public java.lang.String[] getParameterNames()
public void setParameter(java.lang.String name, java.lang.Object value)
name
- Parameter name.value
- Parameter value.public void removeParameter(java.lang.String name)
name
- Parameter name.public boolean hasParameter(java.lang.String name)
name
- Parameter name.public java.lang.Object getParameter(java.lang.String name)
name
- Parameter name.public void setParametersText(java.lang.String params_text)
public java.lang.String getParametersText()
public void setChunks(int[] chunks)
public int[] getChunks()
public int[] getFrames(int chunk)
chunk
- Chunk key.public void setFrames(int chunk, int[] frames)
chunk
- Chunk key.frames
- List of frame keys.public void setGpuSupport(boolean enable)
public boolean getGpuSupport()