|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.harness.webclient.RunResult
public class RunResult
Result class scans through the output directory and compiles a list of run results. Enhance this to enable the user to sort it using different options.
Nested Class Summary | |
---|---|
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
|
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
public static RunResult getInstance(RunId runId)
runId
- The run id to query
public static String[] readStatus(String runId)
runId
- The id of the run in question
public static String getStatus(RunId runId)
runId
- The run id to obtain status
public 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 direction
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |