public static JobDefinition manuallyTriggerableJobDefinition(final String jobType,final String jobName,final String description,final int restarts,final Optional<Duration> maxAge){
  return new DefaultJobDefinition(jobType,jobName,description,maxAge,Optional.empty(),Optional.empty(),restarts,0,Optional.empty());
}

public static JobDefinition manuallyTriggerableJobDefinition ( final String jobType , final String jobName , final String description , final int restarts , final Optional < Duration > maxAge ) { return new DefaultJobDefinition ( jobType , jobName , description , maxAge , Optional . empty ( ) , Optional . empty ( ) , restarts , 0 , Optional . empty ( ) ) ; }
create a jobdefinition for a job that will not be triggered automatically by a job trigger .
