Class ExecutionHeaderResponse
- java.lang.Object
-
- org.kie.kogito.trusty.service.common.responses.ExecutionHeaderResponse
-
- Direct Known Subclasses:
DecisionHeaderResponse,ProcessHeaderResponse
public abstract class ExecutionHeaderResponse extends Object
Base abstract class for ExecutionHeaderResponse
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedExecutionHeaderResponse()protectedExecutionHeaderResponse(String executionId, OffsetDateTime executionDate, Boolean hasSucceeded, String executorName, String executedModelName, org.kie.kogito.ModelDomain modelDomain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExecutedModelName()Gets the name of the executed model.OffsetDateTimegetExecutionDate()Gets the execution date.StringgetExecutionId()Gets the execution id.org.kie.kogito.ModelDomaingetExecutionType()Gets the execution type.StringgetExecutorName()Gets the executor name.BooleanhasSucceeded()Gets the information of the operational success of the execution.
-
-
-
Constructor Detail
-
ExecutionHeaderResponse
protected ExecutionHeaderResponse()
-
ExecutionHeaderResponse
protected ExecutionHeaderResponse(String executionId, OffsetDateTime executionDate, Boolean hasSucceeded, String executorName, String executedModelName, org.kie.kogito.ModelDomain modelDomain)
-
-
Method Detail
-
getExecutionId
public String getExecutionId()
Gets the execution id.- Returns:
- The execution id.
-
getExecutionDate
public OffsetDateTime getExecutionDate()
Gets the execution date.- Returns:
- The execution date.
-
hasSucceeded
public Boolean hasSucceeded()
Gets the information of the operational success of the execution.- Returns:
- true if the execution was successful from an technical point of view, false otherwise.
-
getExecutorName
public String getExecutorName()
Gets the executor name.- Returns:
- The executor name.
-
getExecutedModelName
public String getExecutedModelName()
Gets the name of the executed model.- Returns:
- The name of the executed model.
-
getExecutionType
public org.kie.kogito.ModelDomain getExecutionType()
Gets the execution type.- Returns:
- The execution type.
-
-