public class AutomationAgent extends QTestBaseModel<AutomationAgent>
NL, properties, RESERVED_NAME| Constructor and Description |
|---|
AutomationAgent() |
| Modifier and Type | Method and Description |
|---|---|
protected AutomationAgent |
clone() |
java.lang.String |
elementName() |
java.lang.Long |
getAgentId() |
java.lang.Long |
getAgentServerId() |
java.lang.String |
getConfiguration() |
java.lang.String |
getFramework()
t
|
java.lang.String |
getFrameworkId() |
java.lang.Long |
getHostId() |
java.lang.String |
getName() |
java.lang.Long |
getProjectId() |
java.lang.Boolean |
isActive() |
java.lang.String |
jsonElementName() |
AutomationAgent |
setActive(java.lang.Boolean active)
Sets the agent action.
|
AutomationAgent |
setAgentId(java.lang.Long agentId)
Sets the agent client identifier.
|
AutomationAgent |
setAgentServerId(java.lang.Long qTestAgentId)
Sets the server agent identifier.
|
void |
setConfiguration(java.lang.String configuration) |
AutomationAgent |
setFramework(java.lang.String framework)
Sets the automation agent framework.
|
AutomationAgent |
setFrameworkId(java.lang.String frameworkId)
Sets the automation agent framework id.
|
AutomationAgent |
setHostId(java.lang.Long hostId)
Sets the host identifier.
|
AutomationAgent |
setName(java.lang.String name)
Sets the agent name.
|
AutomationAgent |
setProjectId(java.lang.Long projectId)
Sets the project identifier.
|
AutomationAgent |
withActive(java.lang.Boolean active)
Sets the agent action.
|
AutomationAgent |
withAgentId(java.lang.Long agentId)
Sets the client agent identifier.
|
AutomationAgent |
withAgentServerId(java.lang.Long qTestAgentId)
Sets the server agent identifier.
|
AutomationAgent |
withConfiguration(java.lang.String configuration) |
AutomationAgent |
withFramework(java.lang.String framework)
Sets the framework.
|
AutomationAgent |
withFrameworkId(java.lang.String frameworkId)
Sets the framework id.
|
AutomationAgent |
withHostId(java.lang.Long hostId)
Sets the host identifier.
|
AutomationAgent |
withName(java.lang.String name)
Sets the agent name.
|
AutomationAgent |
withProjectId(java.lang.Long projectId)
Sets the project identifier.
|
getBinaryFromInputStream, getLinks, getWebUrl, setLinks, setWebUrl, validateInputStream, withLinks, withWebUrlappendPropertiesTo, appendPropertiesTo, asDate, asDate, asInteger, asInteger, asLong, asLong, asString, asString, getProperties, getProperty, getPropertyMap, hasProperties, hasProperty, isVisible, removeProperty, setPropertiesFrom, setProperty, toJson, toStringpublic java.lang.Long getAgentServerId()
public AutomationAgent setAgentServerId(java.lang.Long qTestAgentId)
qTestAgentId - the given agent identifier obtain from server.public AutomationAgent withAgentServerId(java.lang.Long qTestAgentId)
qTestAgentId - the given agent identifier obtain from server.public java.lang.String getName()
public AutomationAgent setName(java.lang.String name)
name - the agent name to set.public AutomationAgent withName(java.lang.String name)
name - the given agent name to set.AutomationAgent instance.public java.lang.String getFramework()
public AutomationAgent setFramework(java.lang.String framework)
framework - the given automation agent framework.public AutomationAgent withFramework(java.lang.String framework)
framework - the given automation agent framework.public java.lang.String getFrameworkId()
public AutomationAgent setFrameworkId(java.lang.String frameworkId)
frameworkId - the given automation agent framework.public AutomationAgent withFrameworkId(java.lang.String frameworkId)
frameworkId - the given automation agent framework.public java.lang.Long getProjectId()
public AutomationAgent setProjectId(java.lang.Long projectId)
projectId - the given project identifier to set.public AutomationAgent withProjectId(java.lang.Long projectId)
projectId - the given project identifier to set.public java.lang.Long getHostId()
public AutomationAgent setHostId(java.lang.Long hostId)
hostId - the given host identifier to set.public AutomationAgent withHostId(java.lang.Long hostId)
hostId - the given host identifier to set.public java.lang.Boolean isActive()
true if the agent is active.public AutomationAgent setActive(java.lang.Boolean active)
active - the given active flag.public AutomationAgent withActive(java.lang.Boolean active)
active - the given active flag to set.public java.lang.Long getAgentId()
public AutomationAgent setAgentId(java.lang.Long agentId)
agentId - the given agent client identifier.public AutomationAgent withAgentId(java.lang.Long agentId)
agentId - the given agent client identifier.public java.lang.String getConfiguration()
public void setConfiguration(java.lang.String configuration)
public AutomationAgent withConfiguration(java.lang.String configuration)
public java.lang.String elementName()
elementName in class PropertyContainerpublic java.lang.String jsonElementName()
jsonElementName in class PropertyContainerprotected AutomationAgent clone()
clone in class PropertyContainer