Package com.suse.salt.netapi.event
Class JobReturnEvent.Data
- java.lang.Object
-
- com.suse.salt.netapi.event.JobReturnEvent.Data
-
- Enclosing class:
- JobReturnEvent
public static class JobReturnEvent.Data extends Object
Data object of the job return event
-
-
Constructor Summary
Constructors Constructor Description Data()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCmd()
String
getFun()
Object
getFunArgs()
String
getId()
String
getJid()
Optional<Object>
getMetadata()
<R> Optional<R>
getMetadata(com.google.gson.reflect.TypeToken<R> dataType)
<R> Optional<R>
getMetadata(Class<R> dataType)
String
getOut()
Object
getResult()
<R> R
getResult(com.google.gson.reflect.TypeToken<R> dataType)
<R> R
getResult(Class<R> dataType)
int
getRetcode()
Optional<String>
getSchedule()
String
getTimestamp()
boolean
isSuccess()
-
-
-
Method Detail
-
getTimestamp
public String getTimestamp()
-
getCmd
public String getCmd()
-
getFun
public String getFun()
-
getFunArgs
public Object getFunArgs()
-
getId
public String getId()
-
getJid
public String getJid()
-
getOut
public String getOut()
-
getRetcode
public int getRetcode()
-
isSuccess
public boolean isSuccess()
-
getResult
public Object getResult()
-
getResult
public <R> R getResult(Class<R> dataType)
-
getResult
public <R> R getResult(com.google.gson.reflect.TypeToken<R> dataType)
-
getMetadata
public <R> Optional<R> getMetadata(com.google.gson.reflect.TypeToken<R> dataType)
-
-