Interface ConnectionCallback

    • Method Detail

      • acceptsConnectionType

        boolean acceptsConnectionType​(@NotNull
                                      String providerType)
        Determins if the concrete implementation can handle connections of the given provider type.
        Parameters:
        providerType - type of OAuthProvider
        Returns:
        true if connections can be handled, false otherwise.
      • onSubProjectSetup

        void onSubProjectSetup​(@NotNull
                               OAuthConnectionDescriptor connection,
                               @NotNull
                               SProject newProject)
        Called when a subproject is in the process of being set up, which is derived from a connection.
        Parameters:
        connection - affected connection
        newProject - the new project