Class SpaceTemporaryConnectionCallback
- java.lang.Object
-
- jetbrains.buildServer.serverSide.oauth.space.SpaceTemporaryConnectionCallback
-
- All Implemented Interfaces:
ConnectionCallback
,TeamCityExtension
public class SpaceTemporaryConnectionCallback extends Object implements ConnectionCallback
-
-
Constructor Summary
Constructors Constructor Description SpaceTemporaryConnectionCallback(OAuthConnectionsManager connectionsManager, OAuthRedirectSettingsStorage redirectSettingsStorage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptsConnectionType(String providerType)
Determins if the concrete implementation can handle connections of the given provider type.void
onSubProjectSetup(OAuthConnectionDescriptor connection, SProject newProject)
Called when a subproject is in the process of being set up, which is derived from a connection.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.oauth.ConnectionCallback
acceptIfPossible
-
-
-
-
Constructor Detail
-
SpaceTemporaryConnectionCallback
public SpaceTemporaryConnectionCallback(@NotNull OAuthConnectionsManager connectionsManager, @NotNull OAuthRedirectSettingsStorage redirectSettingsStorage)
-
-
Method Detail
-
acceptsConnectionType
public boolean acceptsConnectionType(@NotNull String providerType)
Description copied from interface:ConnectionCallback
Determins if the concrete implementation can handle connections of the given provider type.- Specified by:
acceptsConnectionType
in interfaceConnectionCallback
- Parameters:
providerType
- type ofOAuthProvider
- Returns:
- true if connections can be handled, false otherwise.
-
onSubProjectSetup
public void onSubProjectSetup(@NotNull OAuthConnectionDescriptor connection, @NotNull SProject newProject)
Description copied from interface:ConnectionCallback
Called when a subproject is in the process of being set up, which is derived from a connection.- Specified by:
onSubProjectSetup
in interfaceConnectionCallback
- Parameters:
connection
- affected connectionnewProject
- the new project
-
-