public class Key extends Pair
Object representing a job or trigger key.
Constructor and Description |
---|
Key(java.lang.String name,
java.lang.String group)
Construct a new key with the given name and group.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroup()
Get the group portion of the key.
|
java.lang.String |
getName()
Get the name portion of the key.
|
java.lang.String |
toString()
Return the string representation of the key.
|
public Key(java.lang.String name, java.lang.String group)
name
- the namegroup
- the grouppublic 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