Class RunPhaseEvent

    • Constructor Detail

      • RunPhaseEvent

        public RunPhaseEvent​(GuiceyLifecycle type,
                             EventsContext context)
        Create event.
        Parameters:
        type - event type
        context - event context
    • Method Detail

      • getConfiguration

        public <T extends io.dropwizard.core.Configuration> T getConfiguration()
        Type Parameters:
        T - configuration type
        Returns:
        configuration object
      • getConfigurationTree

        public ConfigurationTree getConfigurationTree()
        Returns:
        introspected configuration object
      • getEnvironment

        public io.dropwizard.core.setup.Environment getEnvironment()
        Returns:
        environment object