public class AdHocCommandNote extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AdHocCommandNote.Type
Represents a note type.
|
Constructor and Description |
---|
AdHocCommandNote(AdHocCommandNote.Type type,
java.lang.String value)
Creates a new adhoc command note with the specified type and value.
|
Modifier and Type | Method and Description |
---|---|
AdHocCommandNote.Type |
getType()
Return the type of the note.
|
java.lang.String |
getValue()
Returns the value or message of the note.
|
public AdHocCommandNote(AdHocCommandNote.Type type, java.lang.String value)
type
- the type of the note.value
- the value of the note.public java.lang.String getValue()
public AdHocCommandNote.Type getType()