DrmaaSimpleModuleExecutor implements SimpleModuleExecutor { static String getJobName(String moduleDeclarationName) { String normlized = Normalizer.normalize(moduleDeclarationName.replace('.', '_'), Normalizer.Form.NFD); return NON_JOB_NAME_CHARACTERS.matcher(normlized).replaceAll(""); } private  DrmaaSimpleModuleExecutor(Session drmaaSession, Path jobIOBasePath, CommandProvider commandProvider,
            NativeSpecificationProvider nativeSpecificationProvider, InstanceProvider instanceProvider,
            long waitTimeoutSeconds, long errorWaitMilliseconds, Executor shortTasksExecutor,
            ScheduledExecutorService longLivedExecutorService); @Override CompletableFuture<SimpleModuleExecutorResult> submit(RuntimeStateProvider runtimeStateProvider); static final SimpleName DRMAA_SUBMISSION_TIME_MILLIS; static final SimpleName JOB_ID; static final SimpleName NATIVE_ARGUMENTS; static final SimpleName COMMAND_LINE; static final SimpleName EXIT_VALUE; }
@Test public void testJobName() { Assert.assertEquals(DrmaaSimpleModuleExecutor.getJobName("öäü"), "oau"); Assert.assertEquals(DrmaaSimpleModuleExecutor.getJobName("fr.ça.va"), "fr_ca_va"); }