Package jadex.extension.rs.publish
Class AbstractRestPublishService.SSEEvent
- java.lang.Object
-
- jadex.extension.rs.publish.AbstractRestPublishService.SSEEvent
-
- Enclosing class:
- AbstractRestPublishService
public static class AbstractRestPublishService.SSEEvent extends java.lang.Object
SSE event data class.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
callid
The callid.protected java.lang.Object
data
The real data.protected java.lang.String
execptiontype
Exception type name when exception has occurred.protected boolean
finished
Flag indicating if the call is finished.protected java.lang.Integer
max
The max value.
-
Constructor Summary
Constructors Constructor Description SSEEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCallId()
java.lang.Object
getData()
java.lang.String
getExecptionType()
java.lang.Integer
getMax()
boolean
isFinished()
AbstractRestPublishService.SSEEvent
setCallId(java.lang.String callid)
AbstractRestPublishService.SSEEvent
setData(java.lang.Object data)
AbstractRestPublishService.SSEEvent
setExecptionType(java.lang.String execptiontype)
AbstractRestPublishService.SSEEvent
setFinished(boolean finished)
AbstractRestPublishService.SSEEvent
setMax(java.lang.Integer max)
java.lang.String
toString()
-
-
-
Field Detail
-
data
protected java.lang.Object data
The real data.
-
execptiontype
protected java.lang.String execptiontype
Exception type name when exception has occurred.
-
max
protected java.lang.Integer max
The max value.
-
finished
protected boolean finished
Flag indicating if the call is finished.
-
callid
protected java.lang.String callid
The callid.
-
-
Method Detail
-
getData
public java.lang.Object getData()
- Returns:
- the data
-
setData
public AbstractRestPublishService.SSEEvent setData(java.lang.Object data)
- Parameters:
data
- the data to set
-
getMax
public java.lang.Integer getMax()
- Returns:
- the max
-
setMax
public AbstractRestPublishService.SSEEvent setMax(java.lang.Integer max)
- Parameters:
max
- the max to set
-
isFinished
public boolean isFinished()
- Returns:
- the finished
-
setFinished
public AbstractRestPublishService.SSEEvent setFinished(boolean finished)
- Parameters:
finished
- the finished to set
-
getCallId
public java.lang.String getCallId()
- Returns:
- the callid
-
setCallId
public AbstractRestPublishService.SSEEvent setCallId(java.lang.String callid)
- Parameters:
callid
- the callid to set
-
getExecptionType
public java.lang.String getExecptionType()
- Returns:
- the execptiontype
-
setExecptionType
public AbstractRestPublishService.SSEEvent setExecptionType(java.lang.String execptiontype)
- Parameters:
execptiontype
- the execptiontype to set
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-