Class Command.Note
- java.lang.Object
-
- rocks.xmpp.extensions.commands.model.Command.Note
-
- Enclosing class:
- Command
public static final class Command.Note extends Object
Represents a note associated with a command.- See Also:
- 4.3 <note/> Element
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Command.Note.Type
Represents the note type.
-
Constructor Summary
Constructors Constructor Description Note(Command.Note.Type type, String value)
Creates a note.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Command.Note.Type
getType()
Gets the note type.String
getValue()
Gets the note value.
-
-
-
Constructor Detail
-
Note
public Note(Command.Note.Type type, String value)
Creates a note.- Parameters:
type
- The note type.value
- The actual note value.
-
-
Method Detail
-
getType
public final Command.Note.Type getType()
Gets the note type.- Returns:
- The type.
-
getValue
public final String getValue()
Gets the note value.- Returns:
- The note value.
-
-