public class Platform extends Object
Parses and wraps information about platform where tests are executed in Nerrvana.
HttpCommunicator#getExecutionStatus(NerrvanaExecution)
,
NerrvanaExecution
Modifier and Type | Field and Description |
---|---|
String |
browse_url |
String |
code |
String |
id |
List<UserMessage> |
messages |
String |
name |
SortedMap<UserMessageLevel,List<UserMessage>> |
sortedMessages |
String |
status |
Constructor and Description |
---|
Platform() |
Platform(String id,
String code,
String name,
String status,
String browse_url) |
Modifier and Type | Method and Description |
---|---|
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() |
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
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 documentException
Copyright © 2004-2013 Deep Shift Labs. All Rights Reserved.