Package org.apache.camel.console
Interface DevConsole
public interface DevConsole
Developer Console
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Object
call
(DevConsole.MediaType mediaType) Invokes and gets the output from this console.call
(DevConsole.MediaType mediaType, Map<String, Object> options) Invokes and gets the output from this console.Short description of this console.Display name of this console.getGroup()
The group of this console.getId()
The ID of this console.boolean
supportMediaType
(DevConsole.MediaType mediaType) Whether this console supports the given media type.
-
Field Details
-
CONSOLE_ID
- See Also:
-
CONSOLE_GROUP
- See Also:
-
-
Method Details
-
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
Whether this console supports the given media type.- Parameters:
mediaType
- the media type- Returns:
- true if supported, false if not
-
call
Invokes and gets the output from this console. -
call
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.
-