public class TaskLauncherInitializer extends Object implements Serializable
Constructor and Description |
---|
TaskLauncherInitializer() |
Modifier and Type | Method and Description |
---|---|
String |
getCatalogRestUrl() |
FlowScript |
getControlFlowScript()
Get the control flow script
|
List<InputSelector> |
getFilteredInputFiles(Map<String,Serializable> variables) |
List<OutputSelector> |
getFilteredOutputFiles(Map<String,Serializable> variables) |
ForkEnvironment |
getForkEnvironment() |
com.google.common.collect.ImmutableMap<String,String> |
getGenericInformation() |
int |
getIterationIndex() |
String |
getJobOwner() |
com.google.common.collect.ImmutableMap<String,JobVariable> |
getJobVariables() |
org.objectweb.proactive.extensions.dataspaces.core.naming.NamingService |
getNamingService()
Get the namingService Stub
|
int |
getPingAttempts() |
int |
getPingPeriod() |
Script<?> |
getPostScript()
Get the post-script
|
Script<?> |
getPreScript()
Get the pre-script
|
int |
getReplicationIndex() |
String |
getSchedulerRestUrl() |
Synchronization |
getSynchronizationAPI() |
TaskId |
getTaskId()
Get the taskId
|
List<InputSelector> |
getTaskInputFiles()
Get the taskInputFiles
|
List<OutputSelector> |
getTaskOutputFiles()
Get the taskOutputFiles
|
com.google.common.collect.ImmutableMap<String,TaskVariable> |
getTaskVariables() |
long |
getWalltime()
Get the walltime of the task
|
boolean |
isAuthorizedForkEnvironmentScript() |
boolean |
isPreciousLogs() |
void |
setAuthorizedForkEnvironmentScript(boolean authorizedForkEnvironmentScript) |
void |
setCatalogRestUrl(String catalogRestUrl) |
void |
setControlFlowScript(FlowScript flow)
Set the control flow script value to the given flow value
|
void |
setForkEnvironment(ForkEnvironment forkEnvironment) |
void |
setGenericInformation(Map<String,String> genericInformation) |
void |
setIterationIndex(int id) |
void |
setJobOwner(String jobOwner) |
void |
setJobVariables(Map<String,JobVariable> variables) |
void |
setNamingService(org.objectweb.proactive.extensions.dataspaces.core.naming.NamingService namingService)
Set the namingService Stub to the given namingService value
|
void |
setPingAttempts(int pingAttempts) |
void |
setPingPeriod(int pingPeriod) |
void |
setPostScript(Script<?> post)
Set the post-script value to the given post value
|
void |
setPreciousLogs(boolean preciousLogs) |
void |
setPreScript(Script<?> pre)
Set the pre-script value to the given pre value
|
void |
setReplicationIndex(int id) |
void |
setSchedulerRestUrl(String schedulerRestUrl) |
void |
setSynchronizationAPI(Synchronization synchronizationAPI) |
void |
setTaskId(TaskId taskId)
Set the taskId value to the given taskId value
|
void |
setTaskInputFiles(List<InputSelector> taskInputFiles)
Set the taskInputFiles value to the given taskInputFiles value
|
void |
setTaskOutputFiles(List<OutputSelector> taskOutputFiles)
Set the taskOutputFiles value to the given taskOutputFiles value
|
void |
setTaskVariables(Map<String,TaskVariable> taskVariables) |
void |
setWalltime(long walltime)
Set the walltime value to the given walltime value
|
public TaskId getTaskId()
public void setTaskId(TaskId taskId)
taskId
- the taskId to setpublic Script<?> getPreScript()
public void setPreScript(Script<?> pre)
pre
- the pre-script to setpublic Script<?> getPostScript()
public void setControlFlowScript(FlowScript flow)
flow
- the control flow script to setpublic FlowScript getControlFlowScript()
public void setPostScript(Script<?> post)
post
- the post-script to setpublic void setWalltime(long walltime)
walltime
- the walltime to setpublic long getWalltime()
public org.objectweb.proactive.extensions.dataspaces.core.naming.NamingService getNamingService()
public void setNamingService(org.objectweb.proactive.extensions.dataspaces.core.naming.NamingService namingService)
namingService
- the namingService to setpublic List<InputSelector> getTaskInputFiles()
public void setTaskInputFiles(List<InputSelector> taskInputFiles)
taskInputFiles
- the taskInputFiles to setpublic List<OutputSelector> getTaskOutputFiles()
public void setTaskOutputFiles(List<OutputSelector> taskOutputFiles)
taskOutputFiles
- the taskOutputFiles to setpublic void setIterationIndex(int id)
id
- the replication index: task was replicated in parallelpublic int getIterationIndex()
public String getJobOwner()
public void setReplicationIndex(int id)
id
- the iteration index: task was replicated sequentiallypublic int getReplicationIndex()
public void setGenericInformation(Map<String,String> genericInformation)
genericInformation
- the generic information of this taskpublic com.google.common.collect.ImmutableMap<String,String> getGenericInformation()
public boolean isPreciousLogs()
public void setJobOwner(String jobOwner)
public void setSchedulerRestUrl(String schedulerRestUrl)
public String getSchedulerRestUrl()
public void setCatalogRestUrl(String catalogRestUrl)
public String getCatalogRestUrl()
public void setPreciousLogs(boolean preciousLogs)
preciousLogs
- the preciousLogs to setpublic void setJobVariables(Map<String,JobVariable> variables)
public com.google.common.collect.ImmutableMap<String,JobVariable> getJobVariables()
public void setTaskVariables(Map<String,TaskVariable> taskVariables)
public com.google.common.collect.ImmutableMap<String,TaskVariable> getTaskVariables()
public void setPingPeriod(int pingPeriod)
public int getPingPeriod()
public void setPingAttempts(int pingAttempts)
public int getPingAttempts()
public List<InputSelector> getFilteredInputFiles(Map<String,Serializable> variables)
public List<OutputSelector> getFilteredOutputFiles(Map<String,Serializable> variables)
public ForkEnvironment getForkEnvironment()
public void setForkEnvironment(ForkEnvironment forkEnvironment)
public boolean isAuthorizedForkEnvironmentScript()
public void setAuthorizedForkEnvironmentScript(boolean authorizedForkEnvironmentScript)
public Synchronization getSynchronizationAPI()
public void setSynchronizationAPI(Synchronization synchronizationAPI)