@Entity
public class Screenshot
extends java.lang.Object
Constructor and Description |
---|
Screenshot()
Constructs a screenshot.
|
Screenshot(MonitoredArea monitoredArea,
byte[] screenshotData)
Constructs a screenshot with monitored area and screenshot data.
|
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getId()
Gets id of the screenshot.
|
MonitoredArea |
getMonitoredArea()
Gets monitored area of the screenshot.
|
byte[] |
getScreenshotData()
Gets screenshot data.
|
void |
setId(java.util.UUID id)
Sets id of the screenshot.
|
void |
setMonitoredArea(MonitoredArea monitoredArea)
Sets monitored area of the screenshot.
|
void |
setScreenshotData(byte[] screenshotData)
Sets screenshot data.
|
public Screenshot()
public Screenshot(MonitoredArea monitoredArea, byte[] screenshotData)
monitoredArea
- the monitored areascreenshotData
- the screenshot datapublic java.util.UUID getId()
public void setId(java.util.UUID id)
id
- id of the screenshotpublic MonitoredArea getMonitoredArea()
public void setMonitoredArea(MonitoredArea monitoredArea)
monitoredArea
- monitored areapublic byte[] getScreenshotData()
public void setScreenshotData(byte[] screenshotData)
screenshotData
- screenshot data