Class OutData
java.lang.Object
de.iip_ecosphere.platform.services.environment.OutData
Represents wrapped output data from Python.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) StringgetData()The payload data in JSON format.(package private) longgetTime()Returns the time taken for processing in Python.(package private) StringgetType()Returns the symbolic data type name.voidChanges the data.voidsetTime(long time) Changes the processing time.voidChanges the type.
-
Field Details
-
type
-
data
-
time
private long time
-
-
Constructor Details
-
OutData
OutData()
-
-
Method Details
-
getType
String getType()Returns the symbolic data type name.- Returns:
- the type name
-
getData
String getData()The payload data in JSON format.- Returns:
- the payload data
-
getTime
long getTime()Returns the time taken for processing in Python.- Returns:
- the elapsed time in ns
-
setType
Changes the type. [public for JSON]- Parameters:
type- the type to set
-
setData
Changes the data. [public for JSON]- Parameters:
data- the data to set
-
setTime
public void setTime(long time) Changes the processing time. [public for JSON]- Parameters:
time- the time to set
-