public class TaskParameters extends java.lang.Object implements TaskParametersInterface
TaskParametersInterface
,
TaskInterface
,
Task
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCmdArg()
Return the string of the task's arguments of
the execution line command
|
int |
getCodeLang()
Return the number of the language in which the task's code have been written
|
java.lang.String |
getCompilOpt()
Return the string of the task's options of
the compile line command
|
java.lang.String |
getSrcCode()
Return the string of the task's code
|
java.lang.String |
getStdIn()
Return the string of the stdin to give while executing
the task
|
boolean |
getToRun()
Return a boolean specifying if the task must
be executed after compilation
|
void |
setCmdArg(java.lang.String cmdArg)
Change the arguments to give at the execution of the
task by the one given in parameters
|
void |
setStdIn(java.lang.String stdIn)
Change the stdin to give at the execution of the task by
the one given in parameters
|
public int getCodeLang()
getCodeLang
in interface TaskParametersInterface
public java.lang.String getSrcCode()
getSrcCode
in interface TaskParametersInterface
public java.lang.String getCompilOpt()
getCompilOpt
in interface TaskParametersInterface
public boolean getToRun()
getToRun
in interface TaskParametersInterface
public java.lang.String getCmdArg()
getCmdArg
in interface TaskParametersInterface
public void setCmdArg(java.lang.String cmdArg)
setCmdArg
in interface TaskParametersInterface
a
- string representing the arguments to give
while executing the taskpublic java.lang.String getStdIn()
getStdIn
in interface TaskParametersInterface
public void setStdIn(java.lang.String stdIn)
setStdIn
in interface TaskParametersInterface
a
- string representing the stdin to give while executing
the task