@Test public void getReportKeyFromJobName() { name = "testName"; assertNull(JobNamer.getTaskKeyFromJobName(name)); String uuid = UUID.randomUUID().toString(); name = String.format("reportJob%s", uuid); assertEquals(uuid, JobNamer.getReportKeyFromJobName(name)); }
public static String getReportKeyFromJobName(final String name) { return getKeyFromJobName(name, "reportJob" + SyncopeConstants.UUID_REGEX, 9); }
JobNamer { public static String getReportKeyFromJobName(final String name) { return getKeyFromJobName(name, "reportJob" + SyncopeConstants.UUID_REGEX, 9); } }
JobNamer { public static String getReportKeyFromJobName(final String name) { return getKeyFromJobName(name, "reportJob" + SyncopeConstants.UUID_REGEX, 9); } private  JobNamer(); }
JobNamer { public static String getReportKeyFromJobName(final String name) { return getKeyFromJobName(name, "reportJob" + SyncopeConstants.UUID_REGEX, 9); } private  JobNamer(); static String getTaskKeyFromJobName(final String name); static String getReportKeyFromJobName(final String name); static JobKey getJobKey(final Task task); static JobKey getJobKey(final Report report); static String getTriggerName(final String jobName); }
JobNamer { public static String getReportKeyFromJobName(final String name) { return getKeyFromJobName(name, "reportJob" + SyncopeConstants.UUID_REGEX, 9); } private  JobNamer(); static String getTaskKeyFromJobName(final String name); static String getReportKeyFromJobName(final String name); static JobKey getJobKey(final Task task); static JobKey getJobKey(final Report report); static String getTriggerName(final String jobName);  }