public class CSBaseDrmaa2ServiceAdapter extends Object implements ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_BUNDLE
Language bundle
|
| Modifier and Type | Method and Description |
|---|---|
void |
addJobMonitorListener(ibase.rest.api.drmaa2.v1.adapter.JobMonitorListener listener) |
ibase.rest.model.drmaa2.v1.JobSession |
createJobSession(String sessionName) |
List<ibase.rest.model.drmaa2.v1.JobSession> |
getAllJobSessions() |
ibase.rest.model.drmaa2.v1.Job |
getJob(String jobId) |
List<ibase.rest.model.drmaa2.v1.Job> |
getJobs(String projectId,
Long modifiedAfter) |
ibase.rest.model.drmaa2.v1.JobSession |
getJobSession(String name) |
Collection<ibase.rest.model.drmaa2.v1.Job> |
getLastJobs(Long modifiedAfter,
String projectId,
String jobId) |
String |
getLogDir(String jobId) |
StringBuffer |
getLogFile(String jobId) |
void |
removeJobMonitorListener(ibase.rest.api.drmaa2.v1.adapter.JobMonitorListener listener) |
String |
runJob(String jobSessionId,
ibase.rest.model.drmaa2.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.drmaa2.v1.JobSession createJobSession(String sessionName)
createJobSession in interface ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapterpublic ibase.rest.model.drmaa2.v1.JobSession getJobSession(String name)
getJobSession in interface ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapterpublic List<ibase.rest.model.drmaa2.v1.JobSession> getAllJobSessions()
getAllJobSessions in interface ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapterpublic String runJob(String jobSessionId, ibase.rest.model.drmaa2.v1.JobTemplate jobTemplate)
runJob in interface ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapterpublic ibase.rest.model.drmaa2.v1.Job getJob(String jobId)
getJob in interface ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapterpublic List<ibase.rest.model.drmaa2.v1.Job> getJobs(String projectId, Long modifiedAfter)
getJobs in interface ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapterpublic Collection<ibase.rest.model.drmaa2.v1.Job> getLastJobs(Long modifiedAfter, String projectId, String jobId)
getLastJobs in interface ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapterpublic String getLogDir(String jobId) throws IOException
getLogDir in interface ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapterIOExceptionpublic StringBuffer getLogFile(String jobId)
getLogFile in interface ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapterpublic void addJobMonitorListener(ibase.rest.api.drmaa2.v1.adapter.JobMonitorListener listener)
addJobMonitorListener in interface ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapterpublic void removeJobMonitorListener(ibase.rest.api.drmaa2.v1.adapter.JobMonitorListener listener)
removeJobMonitorListener in interface ibase.rest.api.drmaa2.v1.adapter.Drmaa2ServiceAdapterCopyright © 2016. All rights reserved.