1 17 18 21 package org.quartz.impl.jdbcjobstore; 22 23 import java.text.MessageFormat ; 24 25 32 public final class Util { 33 34 37 private Util() { 38 } 39 40 47 48 60 public static String rtp(String query, String tablePrefix) { 61 return MessageFormat.format(query, new Object []{tablePrefix}); 62 } 63 64 75 static String getJobNameKey(String jobName, String groupName) { 76 return (groupName + "_$x$x$_" + jobName).intern(); 77 } 78 79 90 static String getTriggerNameKey(String triggerName, String groupName) { 91 return (groupName + "_$x$x$_" + triggerName).intern(); 92 } 93 } 94 95 | Popular Tags |