Package com.veeva.vault.sdk.api.job
Interface JobValue
- All Superinterfaces:
com.veeva.vault.sdk.infrastructure.utils.FlexSerializable,Serializable
public interface JobValue
extends com.veeva.vault.sdk.infrastructure.utils.FlexSerializable, Serializable
Represents complex data objects passed between job phases.
Use this to define custom data structures that are passed from the Job.init(JobInitContext) phase
to the Job.process(JobProcessContext) and Job.completeWithSuccess(JobCompletionContext)/Job.completeWithError(JobCompletionContext) phases
via a JobItem or JobInitContext.setJobInitParameter(String, Object).
Such classes can only have:
- Static immutable fields (for example, constants)
- Non-static fields of type:
JobValueTypeJobValueCollectionof class typeJobValueTypeorJobValueMapwhosekeyandvaluemust be of class typeJobValueTypeorJobValue