|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.quartz.utils.Key<T>
public class Key<T>
Object representing a job or trigger key.
Field Summary | |
---|---|
static String |
DEFAULT_GROUP
The default group for scheduling entities, with the value "DEFAULT". |
Constructor Summary | |
---|---|
Key(String name,
String group)
Construct a new key with the given name and group. |
Method Summary | |
---|---|
int |
compareTo(Key<T> o)
|
static String |
createUniqueName(String group)
|
boolean |
equals(Object obj)
|
String |
getGroup()
Get the group portion of the key. |
String |
getName()
Get the name portion of the key. |
int |
hashCode()
|
String |
toString()
Return the string representation of the key. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_GROUP
Constructor Detail |
---|
public Key(String name, String group)
name
- the namegroup
- the groupMethod Detail |
---|
public String getName()
Get the name portion of the key.
public String getGroup()
Get the group portion of the key.
public String toString()
Return the string representation of the key. The format will be: <group>.<name>.
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public int compareTo(Key<T> o)
compareTo
in interface Comparable<Key<T>>
public static String createUniqueName(String group)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |