Package com.tick42.glue.desktop.intents

# Interface IntentContext<T>

Type Parameters:
  `T` - The type of the data

    public interface IntentContext<T>

Represents a context to be used to raise an Intent.

Since:
  1.4.1

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `T` | `getData()` |
  `Optional<String>` | `getType()` | Returns an `Optional` eventually containing context type descriptor.
  `String` | `toString()` | Returns the `String` representation for this context.

- ## Method Details

  - ### getType

    Optional<String> getType()
    Returns an `Optional` eventually containing context type descriptor.
    Returns:
      An `Optional` eventually containing context type descriptor, never `null`

  - ### getData

    T getData()

  - ### toString

    String toString()
    Returns the `String` representation for this context.
    Overrides:
      `toString` in class `Object`
    Returns:
      The `String` representation for this context, never `null`