in src/main/java/org/apache/sling/jobs/impl/JobUpdateImpl.java [100:115]
public JobUpdateImpl(@NotNull String jobId, @NotNull JobUpdateCommand command) {
if ( jobId == null ) {
throw new IllegalArgumentException("JobId argument cant be null");
}
if ( command == null ) {
throw new IllegalArgumentException("JobUpdateCommand argument cant be null");
}
jobQueue = Types.ANY_JOB_QUEUE;
id = jobId;
updateTimestamp = System.currentTimeMillis();
expires = updateTimestamp + TTL;
jobState = Job.JobState.ANY_STATE;
this.command = command;
this.properties = Collections.emptyMap();
}