public class CSBaseJobsServiceAdapter extends Object implements ibase.rest.api.job.v1.adapter.JobsServiceAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_BUNDLE
Language bundle
|
| Modifier and Type | Method and Description |
|---|---|
void |
addJobMonitorListener(ibase.rest.api.job.v1.adapter.JobMonitorListener listener) |
void |
cancelJobs(List<String> jobIds) |
ibase.rest.model.job.v1.JobSession |
createJobSession(String sessionName) |
List<ibase.rest.model.job.v1.JobSession> |
getAllJobSessions() |
ibase.rest.model.job.v1.Job |
getJob(String jobId) |
Map<String,Object> |
getJobParameters(String jobId) |
List<ibase.rest.model.job.v1.Job> |
getJobs(String projectId,
Long modifiedAfter) |
ibase.rest.model.job.v1.JobSession |
getJobSession(String name) |
Collection<ibase.rest.model.job.v1.Job> |
getLastJobs(Long modifiedAfter,
String projectId,
String jobId) |
String |
getLogDir(String jobId) |
StringBuffer |
getLogFile(String jobId,
String fileName) |
void |
removeJobMonitorListener(ibase.rest.api.job.v1.adapter.JobMonitorListener listener) |
String |
runJob(String jobSessionId,
ibase.rest.model.job.v1.JobTemplate jobTemplate) |
void |
setLocale(Locale locale)
Atribui o locale a ser usado nas requisições ao serviço.
|
public static final String RESOURCE_BUNDLE
public void setLocale(Locale locale)
setLocale in interface ibase.common.ServiceAdapterlocale - o locale com o idiomapublic ibase.rest.model.job.v1.JobSession createJobSession(String sessionName)
createJobSession in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterpublic ibase.rest.model.job.v1.JobSession getJobSession(String name)
getJobSession in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterpublic List<ibase.rest.model.job.v1.JobSession> getAllJobSessions()
getAllJobSessions in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterpublic String runJob(String jobSessionId, ibase.rest.model.job.v1.JobTemplate jobTemplate)
runJob in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterpublic ibase.rest.model.job.v1.Job getJob(String jobId)
getJob in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterpublic List<ibase.rest.model.job.v1.Job> getJobs(String projectId, Long modifiedAfter)
getJobs in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterpublic Collection<ibase.rest.model.job.v1.Job> getLastJobs(Long modifiedAfter, String projectId, String jobId)
getLastJobs in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterpublic String getLogDir(String jobId) throws IOException
getLogDir in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterIOExceptionpublic void cancelJobs(List<String> jobIds)
cancelJobs in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterIOExceptionpublic Map<String,Object> getJobParameters(String jobId)
getJobParameters in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterpublic StringBuffer getLogFile(String jobId, String fileName)
getLogFile in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterpublic void addJobMonitorListener(ibase.rest.api.job.v1.adapter.JobMonitorListener listener)
addJobMonitorListener in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterpublic void removeJobMonitorListener(ibase.rest.api.job.v1.adapter.JobMonitorListener listener)
removeJobMonitorListener in interface ibase.rest.api.job.v1.adapter.JobsServiceAdapterCopyright © 2017. All rights reserved.