public class TaskLauncherInitializer extends Object implements Serializable
Constructor and Description |
---|
TaskLauncherInitializer() |
Modifier and Type | Method and Description |
---|---|
void |
fetchUrlsIfNeeded() |
String |
getCatalogRestPublicUrl() |
String |
getCatalogRestUrl() |
String |
getCloudAutomationRestPublicUrl() |
String |
getCloudAutomationRestUrl() |
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() |
com.google.common.collect.ImmutableMap<String,String> |
getGlobalGenericInformation() |
com.google.common.collect.ImmutableMap<String,JobVariable> |
getGlobalVariables() |
int |
getIterationIndex() |
String |
getJobOwner() |
String |
getJobPlannerRestPublicUrl() |
String |
getJobPlannerRestUrl() |
com.google.common.collect.ImmutableMap<String,JobVariable> |
getJobVariables() |
org.objectweb.proactive.extensions.dataspaces.core.naming.NamingService |
getNamingService()
Get the namingService Stub
|
String |
getNotificationServiceRestPublicUrl() |
String |
getNotificationServiceRestUrl() |
int |
getPingAttempts() |
int |
getPingPeriod() |
TaskScript |
getPostScript()
Get the post-script
|
Script<?> |
getPreScript()
Get the pre-script
|
int |
getReplicationIndex() |
String |
getSchedulerRestPublicUrl() |
String |
getSchedulerRestUrl() |
SignalApi |
getSignalAPI() |
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 |
setCatalogRestPublicUrl(String catalogRestPublicUrl) |
void |
setCatalogRestUrl(String catalogRestUrl) |
void |
setCloudAutomationRestPublicUrl(String cloudAutomationRestPublicUrl) |
void |
setCloudAutomationRestUrl(String cloudAutomationRestUrl) |
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 |
setGlobalGenericInformation(Map<String,String> globalGenericInformation) |
void |
setGlobalVariables(Map<String,JobVariable> globalVariables) |
void |
setIterationIndex(int id) |
void |
setJobOwner(String jobOwner) |
void |
setJobPlannerRestPublicUrl(String jobPlannerRestPublicUrl) |
void |
setJobPlannerRestUrl(String jobPlannerRestUrl) |
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 |
setNotificationServiceRestPublicUrl(String notificationServiceRestPublicUrl) |
void |
setNotificationServiceRestUrl(String notificationServiceRestUrl) |
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 |
setSchedulerRestPublicUrl(String schedulerRestPublicUrl) |
void |
setSchedulerRestUrl(String schedulerRestUrl) |
void |
setSignalAPI(SignalApi signalAPI) |
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 TaskScript getPostScript()
public void fetchUrlsIfNeeded() throws IOException
IOException
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 com.google.common.collect.ImmutableMap<String,String> getGlobalGenericInformation()
public void setGlobalGenericInformation(Map<String,String> globalGenericInformation)
public boolean isPreciousLogs()
public void setJobOwner(String jobOwner)
public void setSchedulerRestUrl(String schedulerRestUrl)
public String getSchedulerRestUrl()
public void setSchedulerRestPublicUrl(String schedulerRestPublicUrl)
public String getSchedulerRestPublicUrl()
public void setCatalogRestUrl(String catalogRestUrl)
public String getCatalogRestUrl()
public void setCatalogRestPublicUrl(String catalogRestPublicUrl)
public String getCatalogRestPublicUrl()
public String getCloudAutomationRestUrl()
public void setCloudAutomationRestUrl(String cloudAutomationRestUrl)
public String getCloudAutomationRestPublicUrl()
public void setCloudAutomationRestPublicUrl(String cloudAutomationRestPublicUrl)
public String getJobPlannerRestUrl()
public void setJobPlannerRestUrl(String jobPlannerRestUrl)
public String getJobPlannerRestPublicUrl()
public void setJobPlannerRestPublicUrl(String jobPlannerRestPublicUrl)
public String getNotificationServiceRestUrl()
public void setNotificationServiceRestUrl(String notificationServiceRestUrl)
public String getNotificationServiceRestPublicUrl()
public void setNotificationServiceRestPublicUrl(String notificationServiceRestPublicUrl)
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 com.google.common.collect.ImmutableMap<String,JobVariable> getGlobalVariables()
public void setGlobalVariables(Map<String,JobVariable> globalVariables)
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)
public SignalApi getSignalAPI()
public void setSignalAPI(SignalApi signalAPI)