|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.deepshiftlabs.nerrvana.Platform
public class Platform
Parses and wraps information about platform where tests are executed in Nerrvana.
HttpCommunicator#getExecutionStatus(NerrvanaExecution),
NerrvanaExecution| Field Summary | |
|---|---|
String |
browse_url
|
String |
code
|
String |
id
|
List<UserMessage> |
messages
|
String |
name
|
SortedMap<UserMessageLevel,List<UserMessage>> |
sortedMessages
|
String |
status
|
| Constructor Summary | |
|---|---|
Platform()
|
|
Platform(String id,
String code,
String name,
String status,
String browse_url)
|
|
| Method Summary | |
|---|---|
String |
getBrowsetitle()
|
String |
getBrowseurl()
Returns URL to Nerrvana where user (provided credentials) may review this platform execution artifacts |
String |
getBrowseurlMarkup()
Returns content for the onclick javascript handler |
String |
getCode()
|
String |
getId()
|
int |
getMessageCount()
|
List<UserMessage> |
getMessages()
|
String |
getMessagesLabel()
Returns message type names with message count by type Example: "ERROR(4), WARN(2), TRACE(1)" |
String |
getName()
|
static ArrayList<Platform> |
getPlatformList(Node parent)
Returns Platform list which reside under the given XML node |
SortedMap<UserMessageLevel,List<UserMessage>> |
getSortedMessages()
|
String |
getStatus()
Returns status label for this platform. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String id
public String code
public String name
public String status
public String browse_url
public SortedMap<UserMessageLevel,List<UserMessage>> sortedMessages
public List<UserMessage> messages
| Constructor Detail |
|---|
public Platform()
public Platform(String id,
String code,
String name,
String status,
String browse_url)
| Method Detail |
|---|
public String getId()
public String getCode()
public String getName()
public String getStatus()
public String getBrowseurl()
public String getBrowseurlMarkup()
public String getBrowsetitle()
public SortedMap<UserMessageLevel,List<UserMessage>> getSortedMessages()
public List<UserMessage> getMessages()
public int getMessageCount()
public String getMessagesLabel()
public static ArrayList<Platform> getPlatformList(Node parent)
throws Exception
parent - parent node in XML document
Exceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||