@Override\r
public String getCommand(ExecProvider provider)\r
throws UnsupportedRuntimeException {\r
- String command = compbio.engine.client.Util.getCommand(provider, exec\r
- .getClass());\r
+ String command = compbio.engine.client.Util.getCommand(provider,\r
+ exec.getClass());\r
if (Util.isEmpty(command)) {\r
throw new UnsupportedRuntimeException(\r
"Executable "\r
+ this.exec.getClass().getSimpleName()\r
+ " is not supported by the current runtime environment! Current runtime environment is "\r
- + (SysPrefs.isWindows ? "Windows "\r
+ + (SysPrefs.isWindows\r
+ ? "Windows "\r
: "Linux/Unix/Mac"));\r
}\r
return command;\r
* @return\r
* @throws IOException\r
*/\r
- public static <V> LimitsManager<V> getRunnerLimits(\r
- Class<? extends Executable<V>> clazz) throws IOException {\r
+ public static <V> LimitsManager<V> getRunnerLimits(Class<V> clazz)\r
+ throws IOException {\r
String parametersFile = clazz.getSimpleName().toLowerCase()\r
+ ".limits.file";\r
LimitsManager<V> limits = (LimitsManager<V>) getRunnerConfiguration(\r
return limits;\r
}\r
\r
- static <V> Object getRunnerConfiguration(\r
- Class<? extends Executable<V>> clazz, Class<?> configurationHolder,\r
- String propertyName) throws IOException {\r
+ static <V> Object getRunnerConfiguration(Class<V> clazz,\r
+ Class<?> configurationHolder, String propertyName)\r
+ throws IOException {\r
\r
Object rconf = null;\r
FileInputStream confFileStream = null;\r
return Collections.emptyMap();\r
}\r
\r
- return EnvVariableProcessor.getEnvVariables(envProperty, this\r
- .getClass());\r
+ return EnvVariableProcessor.getEnvVariables(envProperty,\r
+ this.getClass());\r
}\r
\r
@Override\r