Package io.gs2.script.result
Class InvokeScriptResult
java.lang.Object
io.gs2.script.result.InvokeScriptResult
- All Implemented Interfaces:
IResult,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InvokeScriptResultfromJson(com.fasterxml.jackson.databind.JsonNode data) getCode()voidsetCharged(Integer charged) voidvoidsetExecuteTime(Integer executeTime) voidvoidsetRandomStatus(RandomStatus randomStatus) voidvoidsetTransaction(Transaction transaction) com.fasterxml.jackson.databind.JsonNodetoJson()withCharged(Integer charged) withExecuteTime(Integer executeTime) withOutput(List<String> output) withRandomStatus(RandomStatus randomStatus) withResult(String result) withTransaction(Transaction transaction)
-
Constructor Details
-
InvokeScriptResult
public InvokeScriptResult()
-
-
Method Details
-
getCode
-
setCode
-
withCode
-
getResult
-
setResult
-
withResult
-
getTransaction
-
setTransaction
-
withTransaction
-
getRandomStatus
-
setRandomStatus
-
withRandomStatus
-
getExecuteTime
-
setExecuteTime
-
withExecuteTime
-
getCharged
-
setCharged
-
withCharged
-
getOutput
-
setOutput
-
withOutput
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson()
-