\r
public class ServicesUtil {\r
\r
- public static Services getServiceByRunner(\r
- Class<Executable<?>> runnerClassName) {\r
- assert runnerClassName != null;\r
- String sname = runnerClassName.getSimpleName().toLowerCase();\r
+ public static Services getServiceByRunner(Class<? extends Executable> class1) {\r
+ assert class1 != null;\r
+ String sname = class1.getSimpleName().toLowerCase();\r
for (Services service : Services.values()) {\r
if (service.toString().toLowerCase().contains(sname)) {\r
return service;\r