Class AdHocCommandNote


  • public class AdHocCommandNote
    extends java.lang.Object
    Notes can be added to a command execution response. A note has a type and value.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AdHocCommandNote.Type
      Represents a note type.
    • Constructor Summary

      Constructors 
      Constructor Description
      AdHocCommandNote​(AdHocCommandNote.Type type, java.lang.String value)
      Creates a new adhoc command note with the specified type and value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AdHocCommandNote.Type getType()
      Return the type of the note.
      java.lang.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

      • AdHocCommandNote

        public AdHocCommandNote​(AdHocCommandNote.Type type,
                                java.lang.String value)
        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 Detail

      • getValue

        public java.lang.String getValue()
        Returns the value or message of the note.
        Returns:
        the value or message of the note.