@ProviderType
public interface JobConsole
Modifier and Type | Method and Description |
---|---|
Iterator<JobStatus> |
getJobStatus(javax.jcr.Session session,
boolean activeOnly)
Return Iterator on JobStatus, in descending order of
creation date.
|
JobStatus |
getJobStatus(javax.jcr.Session session,
String path)
Return a single JobStatus, null if not found.
|
String |
getJobStatusPagePath(javax.servlet.http.HttpServletRequest request,
JobStatus jobStatus,
String extension)
Return the full path, including extension, to the job's status page.
|
String |
getJobStreamPath(javax.servlet.http.HttpServletRequest request,
JobStatus jobStatus)
Return the full path, including extension, to the job's stream
|
Iterator<JobStatus> getJobStatus(javax.jcr.Session session, boolean activeOnly)
session
- not used if activeOnly = trueactiveOnly
- if true, only jobs that are currently
active in the ExecutionEngine are returned.JobStatus getJobStatus(javax.jcr.Session session, String path)
session
- Session to use if reading from persistent storagepath
- the job pathString getJobStatusPagePath(javax.servlet.http.HttpServletRequest request, JobStatus jobStatus, String extension)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.