class EvalTaskConfig extends java.lang.Object
Delegate for configuring evaluation tasks.
| Type | Name and description |
|---|---|
java.util.List |
metricsThe list of metric configurations. |
java.lang.Object |
outputFileThe output file for individual outputs from this task. |
Project |
project |
java.lang.String |
typeThe task type. |
| Constructor and description |
|---|
EvalTaskConfig
(Project prj, java.lang.String type) |
| Type | Name and description |
|---|---|
EvalTaskConfig |
configure(groovy.lang.Closure cl) |
java.util.Map |
getJson() |
void |
metric(java.lang.String name)Add a metric by name. |
void |
metric(java.lang.String name, groovy.lang.Closure block)Add a metric with additional configuration. |
void |
outputFile(java.lang.Object file)Set the output file. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The list of metric configurations.
The output file for individual outputs from this task.
The task type.
Add a metric by name.
name - The metric name.Add a metric with additional configuration.
name - The metric name.block - The block to provide additional JSON-style configuration for the metric.Set the output file.
file - The output file.