|
||||||||||
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 java.lang.String |
DEFAULT_GROUP
The default group for scheduling entities, with the value "DEFAULT". |
Constructor Summary | |
---|---|
Key(java.lang.String name,
java.lang.String group)
Construct a new key with the given name and group. |
Method Summary | |
---|---|
int |
compareTo(Key o)
|
static java.lang.String |
createUniqueName(java.lang.String group)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getGroup()
Get the group portion of the key. |
java.lang.String |
getName()
Get the name portion of the key. |
int |
hashCode()
|
java.lang.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 java.lang.String DEFAULT_GROUP
Constructor Detail |
---|
public Key(java.lang.String name, java.lang.String group)
name
- the namegroup
- the groupMethod Detail |
---|
public java.lang.String getName()
Get the name portion of the key.
public java.lang.String getGroup()
Get the group portion of the key.
public java.lang.String toString()
Return the string representation of the key. The format will be: <group>.<name>.
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(Key o)
compareTo
in interface java.lang.Comparable<Key>
public static java.lang.String createUniqueName(java.lang.String group)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |