public class RunResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RunResult.FeedRecord
The feed record for the run results.
|
static class |
RunResult.ResultField<T extends Comparable>
A result field representing the real value of the field used for
sorting, and the text representation of the value.
|
static class |
RunResult.Target |
Modifier and Type | Field and Description |
---|---|
Date |
dateTime
The timestamp of the run.
|
String |
description
The run description.
|
String |
logLink
The link to the run logs.
|
RunResult.ResultField<Double> |
metric
The metric.
|
String |
result
The result.
|
String |
resultLink
The link for the result to link to.
|
RunId |
runId
The run id.
|
String |
scale
The scale value.
|
String |
status
The status of the run.
|
String |
submitter
The run submitter.
|
String[] |
tags
Tags applicable to this run.
|
Modifier and Type | Method and Description |
---|---|
boolean |
delete(String runIdStr) |
static List<RunResult.FeedRecord> |
getFeeds(Subject user)
Obtains the list of feeds.
|
static List<RunResult.FeedRecord> |
getFeeds(Subject user,
String[] tags)
Obtains the list of feeds based on tags.
|
static RunResult |
getInstance(RunId runId)
Obtains the result of a certain run id.
|
static SortableTableModel |
getResultTable(Subject user,
int column,
String sortDirection)
Returns the SortableTableModel.
|
static SortableTableModel |
getResultTable(Subject user,
String tags,
int column,
String sortDirection)
Returns the SortableTableModel with tag search.
|
static String |
getStatus(RunId runId)
Obtains the status of a given run.
|
static ArrayList<RunResult.Target> |
getTargetList()
Obtains a list of targets currently in the system.
|
static ArrayList<RunResult.Target> |
getTargetListForTarget(String target)
Returns the target list with target search.
|
static ArrayList<RunResult.Target> |
getTargetListForUser(String user) |
static ArrayList<RunResult.Target> |
getTargetListForUserWithTg(String target,
String user) |
static String[] |
readStatus(String runId)
Obtains the current status of a run.
|
public RunId runId
public String description
public String result
public String resultLink
public String scale
public RunResult.ResultField<Double> metric
public String status
public String logLink
public Date dateTime
public String submitter
public String[] tags
public static RunResult getInstance(RunId runId)
runId
- The run id to querypublic static String[] readStatus(String runId)
runId
- The id of the run in questionpublic static String getStatus(RunId runId)
runId
- The run id to obtain statuspublic static SortableTableModel getResultTable(Subject user, String tags, int column, String sortDirection) throws IOException
user
- tags
- column
- sortDirection
- IOException
public static SortableTableModel getResultTable(Subject user, int column, String sortDirection)
user
- The authenticated subject, if anycolumn
- The sort column idsortDirection
- The sort directionpublic boolean delete(String runIdStr)
public static ArrayList<RunResult.Target> getTargetListForTarget(String target) throws IOException
target
- IOException
public static ArrayList<RunResult.Target> getTargetListForUserWithTg(String target, String user) throws IOException
IOException
public static ArrayList<RunResult.Target> getTargetListForUser(String user) throws IOException
IOException
public static ArrayList<RunResult.Target> getTargetList() throws IOException
IOException
- Error accessing targets filepublic static List<RunResult.FeedRecord> getFeeds(Subject user)
user
- public static List<RunResult.FeedRecord> getFeeds(Subject user, String[] tags) throws IOException
user
- tags
- IOException