org.jivesoftware.smackx.commands
Class AdHocCommandNote
java.lang.Object
org.jivesoftware.smackx.commands.AdHocCommandNote
public class AdHocCommandNote
- extends Object
Notes can be added to a command execution response. A note has to attributes,
one is the value or message an the other is the type of the note.
- Author:
- Gabriel Guardincerri
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdHocCommandNote
public AdHocCommandNote(AdHocCommandNote.Type type,
String value)
getValue
public String getValue()
- Returns the value or message of the note.
- Returns:
- the value or message of the note.
getType
public AdHocCommandNote.Type getType()
- Return the type of the note.
- Returns:
- the type of the note.
Copyright © 2003-2007 Jive Software.