java.lang.Object
io.github.tonywasher.joceanus.prometheus.ui.PrometheusGoToEvent<I>
Type Parameters:
I - the id enum

public class PrometheusGoToEvent<I extends Enum<I>> extends Object
Prometheus GoTo Event.
  • Constructor Details

    • PrometheusGoToEvent

      public PrometheusGoToEvent(I pId, Object pDetails)
      Constructor.
      Parameters:
      pId - the id
      pDetails - the details
  • Method Details

    • getId

      public I getId()
      Obtain id.
      Returns:
      the id
    • getDetails

      public Object getDetails()
      Obtain details.
      Returns:
      the details
    • getDetails

      public <T> T getDetails(Class<T> pClass)
      Obtain details.
      Type Parameters:
      T - the details type
      Parameters:
      pClass - the class of the details
      Returns:
      the details