public class ALMultiParamTask extends ALMainTask
Modifier and Type | Field and Description |
---|---|
ClassOptionWithListenerOption |
prequentialEvaluationTaskOption |
EditableMultiChoiceOption |
variedParamNameOption |
ListOption |
variedParamValuesOption |
colorCoding, isLastSubtaskOnLevel, nameSuffix
INSTANCES_BETWEEN_MONITOR_UPDATES, outputFileOption
config
Constructor and Description |
---|
ALMultiParamTask()
Default constructor which sets up the refresh mechanism between the
learner and the variedParamName option.
|
ALMultiParamTask(Color[] subTaskColorCoding)
Constructor that sets the color coding for the subtasks additionally
to the default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
doMainTask(TaskMonitor monitor,
ObjectRepository repository)
This method performs this task.
|
Options |
getOptions()
Gets the options of this object
|
String |
getPurposeString()
Dictionary with option texts and objects
|
List<ALTaskThread> |
getSubtaskThreads()
Get the list of threads for all subtasks and recursively the children's
subtasks.
|
Class<?> |
getTaskResultType()
Gets the result type of this task.
|
protected void |
prepareForUseImpl(TaskMonitor monitor,
ObjectRepository repository)
This method describes the implementation of how to prepare this object for use.
|
void |
setPartitionIdx(int partitionIdx) |
getColorCoding, getDisplayName, getSubtaskLevel, isSubtask, setColorCoding, setIsLastSubtaskOnLevel, setNameSuffix
doTaskImpl
doTask, doTask, getDescription, getTaskName
copy, getCLICreationString, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, measureByteSize
public ClassOptionWithListenerOption prequentialEvaluationTaskOption
public EditableMultiChoiceOption variedParamNameOption
public ListOption variedParamValuesOption
public ALMultiParamTask()
public ALMultiParamTask(Color[] subTaskColorCoding)
subTaskColorCoding
- public String getPurposeString()
AbstractOptionHandler
getPurposeString
in interface OptionHandler
getPurposeString
in class AbstractOptionHandler
public void setPartitionIdx(int partitionIdx)
public Options getOptions()
OptionHandler
getOptions
in interface OptionHandler
getOptions
in class AbstractOptionHandler
public Class<?> getTaskResultType()
Task
protected void prepareForUseImpl(TaskMonitor monitor, ObjectRepository repository)
AbstractOptionHandler
prepareForUseImpl
and not prepareForUse
since
prepareForUse
calls prepareForUseImpl
.prepareForUseImpl
in class AbstractTask
monitor
- the TaskMonitor to userepository
- the ObjectRepository to useprotected Object doMainTask(TaskMonitor monitor, ObjectRepository repository)
MainTask
AbstractTask
implements doTask
,
that uses doTaskImpl
.
MainTask
implements doTaskImpl
using
doMainTask
so its extensions only need to implement
doMainTask
.doMainTask
in class MainTask
monitor
- the TaskMonitor to userepository
- the ObjectRepository to usepublic List<ALTaskThread> getSubtaskThreads()
MetaMainTask
getSubtaskThreads
in class ALMainTask
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.