public abstract class AbstractTestEvent extends Object implements Event
| Constructor and Description |
|---|
AbstractTestEvent() |
AbstractTestEvent(String parentId) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Event> |
as(Class<T> clazz) |
Map<String,Object> |
attributes() |
boolean |
equals(Object obj) |
<T> T |
getAttribute(String name) |
Map<String,Object> |
getAttributes() |
String |
getId() |
String |
getParentId() |
Date |
getTimeStamp() |
abstract EventType |
getType() |
void |
setAttribute(String attribute,
Object value) |
void |
setAttribute(String name,
String value) |
void |
setAttributes(Map<String,Object> attributes) |
String |
toString() |
public AbstractTestEvent(String parentId)
public AbstractTestEvent()
public String getParentId()
getParentId in interface Eventpublic Date getTimeStamp()
getTimeStamp in interface Eventpublic <T> T getAttribute(String name)
getAttribute in interface Eventpublic Map<String,Object> getAttributes()
getAttributes in interface Eventpublic void setAttributes(Map<String,Object> attributes)
setAttributes in interface Eventpublic void setAttribute(String attribute, Object value)
setAttribute in interface EventCopyright © 2019 Automation RockStars. All rights reserved.