Package com.intuit.karate.job
Class JobMessage
- java.lang.Object
-
- com.intuit.karate.job.JobMessage
-
public class JobMessage extends Object
- Author:
- pthomas3
-
-
Constructor Summary
Constructors Constructor Description JobMessage(String method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tget(String key)byte[]getBase64(String key)Map<String,Object>getBody()byte[]getBytes()StringgetChunkId()List<JobCommand>getCommands(String key)StringgetExecutorId()StringgetJobId()booleanis(String method)JobMessageput(String key, Object value)JobMessageput(String key, List<JobCommand> commands)JobMessageputBase64(String key, byte[] bytes)voidsetBody(Map<String,Object> body)voidsetBytes(byte[] bytes)voidsetChunkId(String chunkId)voidsetExecutorId(String executorId)voidsetJobId(String jobId)StringtoString()
-
-
-
Field Detail
-
method
public final String method
-
-
Constructor Detail
-
JobMessage
public JobMessage(String method)
-
-
Method Detail
-
setBytes
public void setBytes(byte[] bytes)
-
getBytes
public byte[] getBytes()
-
getJobId
public String getJobId()
-
setJobId
public void setJobId(String jobId)
-
getChunkId
public String getChunkId()
-
setChunkId
public void setChunkId(String chunkId)
-
setExecutorId
public void setExecutorId(String executorId)
-
getExecutorId
public String getExecutorId()
-
is
public boolean is(String method)
-
get
public <T> T get(String key)
-
put
public JobMessage put(String key, List<JobCommand> commands)
-
getCommands
public List<JobCommand> getCommands(String key)
-
put
public JobMessage put(String key, Object value)
-
putBase64
public JobMessage putBase64(String key, byte[] bytes)
-
getBase64
public byte[] getBase64(String key)
-
-