|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.util.IdHelper
public class IdHelper
Helper class for creating and checking anonymous command ids.
| Method Summary | |
|---|---|
static java.lang.String |
createAnonymousId()
Creates an anonymous id string. |
static boolean |
isAnonymous(Command command)
Checks if the specified command has an anonymous id. |
static boolean |
isAnonymous(java.lang.String id)
Checks if this is an anonymous command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String createAnonymousId()
public static boolean isAnonymous(java.lang.String id)
ConfigurationLoader. They
are useful when you need to programatically create a command.
All commands created without an id are anonymous.
public static boolean isAnonymous(Command command)
command - the command to check.
true if it has an anonymous id, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||