Package org.jivesoftware.smackx.commands
Class AdHocCommandNote
java.lang.Object
org.jivesoftware.smackx.commands.AdHocCommandNote
Notes can be added to a command execution response. A note has a type and value.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionAdHocCommandNote
(AdHocCommandNote.Type type, String value) Creates a new adhoc command note with the specified type and value. -
Method Summary
-
Constructor Details
-
AdHocCommandNote
Creates a new adhoc command note with the specified type and value.- Parameters:
type
- the type of the note.value
- the value of the note.
-
-
Method Details
-
getValue
Returns the value or message of the note.- Returns:
- the value or message of the note.
-
getType
Return the type of the note.- Returns:
- the type of the note.
-