Class ComponentFactory.Redirect

    • Constructor Detail

      • Redirect

        public Redirect​(Class<? extends Service> service,
                        String control)
        Construct a redirect to the provided service and control.
        Parameters:
        service - service type to redirect to
        control - control on service to redirect to
    • Method Detail

      • service

        public Class<? extends Service> service()
        Query the service to redirect to.
        Returns:
        service
      • control

        public String control()
        Query the control on the service to redirect to.
        Returns:
        control id
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object