public class GraphNodeExecutionLog
extends java.lang.Object
| Constructor and Description |
|---|
GraphNodeExecutionLog() |
GraphNodeExecutionLog(io.vertx.core.json.JsonObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
long |
getFinished()
Processing end timestamp
|
java.lang.String |
getId()
Unique node id.
|
java.lang.String |
getLabel()
Node label.
|
java.util.Map<java.lang.String,GraphNodeExecutionLog> |
getOn()
Maps a transition to node execution log.
|
GraphNodeOperationLog |
getOperation()
Node metadata details.
|
GraphNodeResponseLog |
getResponse()
It represents node execution data.
|
long |
getStarted()
Processing start timestamp
|
LoggedNodeStatus |
getStatus()
Node status that is calculated based on node response.
|
java.util.Optional<GraphNodeExecutionLog> |
getSubtask(java.lang.String label) |
java.util.List<GraphNodeExecutionLog> |
getSubtasks()
List of composite node subgraphs.
|
io.knotx.fragments.task.api.NodeType |
getType()
Node type value:
SINGLE or COMPOSITE . |
int |
hashCode() |
static GraphNodeExecutionLog |
newInstance(java.lang.String id) |
static GraphNodeExecutionLog |
newInstance(java.lang.String id,
io.knotx.fragments.task.api.NodeType type,
java.lang.String label,
long started,
long finished,
java.util.List<GraphNodeExecutionLog> subtasks,
GraphNodeOperationLog operation,
java.util.Map<java.lang.String,GraphNodeExecutionLog> on) |
GraphNodeExecutionLog |
setFinished(long finished) |
GraphNodeExecutionLog |
setId(java.lang.String id) |
GraphNodeExecutionLog |
setLabel(java.lang.String label) |
GraphNodeExecutionLog |
setOn(java.util.Map<java.lang.String,GraphNodeExecutionLog> on) |
GraphNodeExecutionLog |
setOperation(GraphNodeOperationLog operation) |
GraphNodeExecutionLog |
setResponse(GraphNodeResponseLog response) |
GraphNodeExecutionLog |
setStarted(long started) |
GraphNodeExecutionLog |
setStatus(LoggedNodeStatus status) |
GraphNodeExecutionLog |
setSubtasks(java.util.List<GraphNodeExecutionLog> subtasks) |
GraphNodeExecutionLog |
setType(io.knotx.fragments.task.api.NodeType type) |
io.vertx.core.json.JsonObject |
toJson() |
java.lang.String |
toString() |
public GraphNodeExecutionLog()
public GraphNodeExecutionLog(io.vertx.core.json.JsonObject jsonObject)
public static GraphNodeExecutionLog newInstance(java.lang.String id)
public static GraphNodeExecutionLog newInstance(java.lang.String id, io.knotx.fragments.task.api.NodeType type, java.lang.String label, long started, long finished, java.util.List<GraphNodeExecutionLog> subtasks, GraphNodeOperationLog operation, java.util.Map<java.lang.String,GraphNodeExecutionLog> on)
public io.vertx.core.json.JsonObject toJson()
public java.lang.String getId()
public GraphNodeExecutionLog setId(java.lang.String id)
public io.knotx.fragments.task.api.NodeType getType()
SINGLE or COMPOSITE .public GraphNodeExecutionLog setType(io.knotx.fragments.task.api.NodeType type)
public java.lang.String getLabel()
public GraphNodeExecutionLog setLabel(java.lang.String label)
public long getStarted()
public GraphNodeExecutionLog setStarted(long started)
public long getFinished()
public GraphNodeExecutionLog setFinished(long finished)
public java.util.List<GraphNodeExecutionLog> getSubtasks()
COMPOSITE.public GraphNodeExecutionLog setSubtasks(java.util.List<GraphNodeExecutionLog> subtasks)
public java.util.Optional<GraphNodeExecutionLog> getSubtask(java.lang.String label)
public GraphNodeOperationLog getOperation()
io.knotx.fragments.task.factory.api.metadata.NodeMetadata#getOperation() data.public GraphNodeExecutionLog setOperation(GraphNodeOperationLog operation)
public java.util.Map<java.lang.String,GraphNodeExecutionLog> getOn()
public GraphNodeExecutionLog setOn(java.util.Map<java.lang.String,GraphNodeExecutionLog> on)
public LoggedNodeStatus getStatus()
public GraphNodeExecutionLog setStatus(LoggedNodeStatus status)
public GraphNodeResponseLog getResponse()
public GraphNodeExecutionLog setResponse(GraphNodeResponseLog response)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object