public class AttachmentImpl extends AbstractTestEvent implements Attachment
| Constructor and Description |
|---|
AttachmentImpl() |
AttachmentImpl(String parentId) |
| Modifier and Type | Method and Description |
|---|---|
void |
attach(String mimeType,
String title,
byte[] content) |
byte[] |
getContent() |
String |
getMimeType() |
String |
getTitle() |
EventType |
getType() |
void |
setContent(byte[] content) |
void |
setMimeType(String type) |
void |
setTitle(String title) |
as, attributes, equals, getAttribute, getAttributes, getId, getParentId, getTimeStamp, setAttribute, setAttribute, setAttributes, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitas, getAttribute, getAttributes, getId, getParentId, getTimeStamp, setAttribute, setAttributespublic AttachmentImpl()
public AttachmentImpl(String parentId)
public void attach(String mimeType, String title, byte[] content)
attach in interface Attachmentpublic EventType getType()
getType in interface EventgetType in class AbstractTestEventpublic byte[] getContent()
getContent in interface Attachmentpublic void setContent(byte[] content)
setContent in interface Attachmentpublic String getMimeType()
getMimeType in interface Attachmentpublic void setMimeType(String type)
setMimeType in interface Attachmentpublic String getTitle()
getTitle in interface Attachmentpublic void setTitle(String title)
setTitle in interface AttachmentCopyright © 2019 Automation RockStars. All rights reserved.