Package com.veeva.vault.sdk.api.job
Interface JobOwner
public interface JobOwner
Represents information about a job's owner.
The owner can be retrieved via
JobContext.getJobOwner() and is
set when the job is initiated via JobQueueRequest.Builder.withJobOwner(com.veeva.vault.sdk.api.core.RequestContextUserType).-
Method Details
-
getId
String getId()Retrieves the ID of the job owner.- Returns:
- the ID of the job owner
-
getType
JobOwnerType getType()Retrieves the type of the job owner, either user or group. For example,JobOwnerType.USER.- Returns:
- the
JobOwnerType
-