| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.commands.AdHocCommandNote
public class AdHocCommandNote
Notes can be added to a command execution response. A note has a type and value.
| Nested Class Summary | |
|---|---|
| static class | AdHocCommandNote.TypeRepresents a note type. | 
| Constructor Summary | |
|---|---|
| AdHocCommandNote(AdHocCommandNote.Type type,
                 String value)Creates a new adhoc command note with the specified type and value. | |
| Method Summary | |
|---|---|
|  AdHocCommandNote.Type | getType()Return the type of the note. | 
|  String | getValue()Returns the value or message of the note. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AdHocCommandNote(AdHocCommandNote.Type type,
                        String value)
type - the type of the note.value - the value of the note.| Method Detail | 
|---|
public String getValue()
public AdHocCommandNote.Type getType()
| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||