Interface DevConsole


  • public interface DevConsole
    Developer Console
    • Method Detail

      • getGroup

        String getGroup()
        The group of this console.
      • getId

        String getId()
        The ID of this console.
      • getDisplayName

        String getDisplayName()
        Display name of this console.
      • getDescription

        String getDescription()
        Short description of this console.
      • supportMediaType

        boolean supportMediaType​(DevConsole.MediaType mediaType)
        Whether this console supports the given media type.
        Parameters:
        mediaType - the media type
        Returns:
        true if support, false if not
      • call

        Object call​(DevConsole.MediaType mediaType,
                    Map<String,​Object> options)
        Invokes and gets the output from this console. The options argument can be used to pass information specific to the call. The implementation is responsible to catch and handle any exception thrown by the underlying technology, including unchecked ones.