public static class JobReturnEvent.Data extends Object
Constructor and Description |
---|
Data() |
Modifier and Type | Method and Description |
---|---|
String |
getCmd() |
String |
getFun() |
Object |
getFunArgs() |
String |
getId() |
String |
getJid() |
Optional<Object> |
getMetadata() |
<R> Optional<R> |
getMetadata(Class<R> dataType) |
<R> Optional<R> |
getMetadata(com.google.gson.reflect.TypeToken<R> dataType) |
String |
getOut() |
Object |
getResult() |
<R> R |
getResult(Class<R> dataType) |
<R> R |
getResult(com.google.gson.reflect.TypeToken<R> dataType) |
int |
getRetcode() |
Optional<String> |
getSchedule() |
String |
getTimestamp() |
boolean |
isSuccess() |
public String getTimestamp()
public String getCmd()
public String getFun()
public Object getFunArgs()
public String getId()
public String getJid()
public String getOut()
public int getRetcode()
public boolean isSuccess()
public Object getResult()
public <R> R getResult(Class<R> dataType)
public <R> R getResult(com.google.gson.reflect.TypeToken<R> dataType)
public <R> Optional<R> getMetadata(com.google.gson.reflect.TypeToken<R> dataType)
Copyright © 2016. All rights reserved.