|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aludratest.hpalm.service.impl.HpAlmInteractionImpl
public class HpAlmInteractionImpl
| Constructor Summary | |
|---|---|
HpAlmInteractionImpl(HpAlmSession session)
|
|
| Method Summary | |
|---|---|
List<org.aludratest.testcase.event.attachment.Attachment> |
createAttachments(Object object,
String title)
|
List<org.aludratest.testcase.event.attachment.Attachment> |
createDebugAttachments()
|
Entity |
createEntity(EntityType entityType,
Entity value)
Creates a new entity of the given type. |
void |
deleteEntity(EntityType entityType,
long id)
Deletes the given entity. |
EntityCollection |
getAllEntities(EntityType entityType)
Returns a collection with all entities of a given entity type. |
ServerTime |
getServerTime()
Returns the server time of the HP ALM server. |
Entity |
getSingleEntity(EntityType entityType,
long id)
Returns a single entity of the given type with the given ID. |
EntityCollection |
queryEntities(EntityType entityType,
String query)
Executes a complex query in HP ALM for entities of a given type. |
void |
setSystemConnector(org.aludratest.service.SystemConnector systemConnector)
|
void |
updateEntity(EntityType entityType,
long id,
Entity value)
Updates the given entity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HpAlmInteractionImpl(HpAlmSession session)
| Method Detail |
|---|
public ServerTime getServerTime()
HpAlmInteraction
getServerTime in interface HpAlmInteractionpublic EntityCollection getAllEntities(EntityType entityType)
HpAlmInteraction
getAllEntities in interface HpAlmInteractionentityType - Entity type to retrieve the entities from.
public Entity getSingleEntity(EntityType entityType,
long id)
HpAlmInteraction
getSingleEntity in interface HpAlmInteractionentityType - Type of the entity.id - ID of the entity.
public Entity createEntity(EntityType entityType,
Entity value)
HpAlmInteraction
createEntity in interface HpAlmInteractionentityType - Type of the entity to create.value - Entity containing all required values. Do not use this object after a call to this method.
public void updateEntity(EntityType entityType,
long id,
Entity value)
HpAlmInteraction
updateEntity in interface HpAlmInteractionentityType - Type of the entity to update.id - ID of the entity to update.value - Entity object containing all fields for the entity.
public void deleteEntity(EntityType entityType,
long id)
HpAlmInteraction
deleteEntity in interface HpAlmInteractionentityType - Type of the entity to delete.id - ID of the entity to delete.
public EntityCollection queryEntities(EntityType entityType,
String query)
HpAlmInteraction
queryEntities in interface HpAlmInteractionentityType - Type of the entities to query.query - A complex HP ALM query. See HP ALM REST API documentation for query syntax.
public List<org.aludratest.testcase.event.attachment.Attachment> createDebugAttachments()
createDebugAttachments in interface org.aludratest.service.Action
public List<org.aludratest.testcase.event.attachment.Attachment> createAttachments(Object object,
String title)
createAttachments in interface org.aludratest.service.Actionpublic void setSystemConnector(org.aludratest.service.SystemConnector systemConnector)
setSystemConnector in interface org.aludratest.service.Action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||