Class UnknownConnectionProvider
- java.lang.Object
-
- jetbrains.buildServer.serverSide.connections.utils.UnknownConnectionProvider
-
- All Implemented Interfaces:
ConnectionProvider
,ServerExtension
,TeamCityExtension
public class UnknownConnectionProvider extends Object implements ConnectionProvider
- Since:
- 2023.05
-
-
Constructor Summary
Constructors Constructor Description UnknownConnectionProvider(String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
describeConnection(Map<String,String> connectionProperties)
Map<String,String>
getDefaultProperties()
String
getDisplayName()
String
getEditParametersUrl()
PropertiesProcessor
getPropertiesProcessor()
String
getType()
boolean
isAvailable()
-
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.connections.ConnectionProvider
getDisplayOrderRank, getTypeForUrl
-
-
-
-
Constructor Detail
-
UnknownConnectionProvider
public UnknownConnectionProvider(@NotNull String type)
-
-
Method Detail
-
getType
@NotNull public String getType()
- Specified by:
getType
in interfaceConnectionProvider
- Returns:
- String used to identify the Connection Provider type. All Connection features store this property in parameters.
-
getDisplayName
@NotNull public String getDisplayName()
- Specified by:
getDisplayName
in interfaceConnectionProvider
- Returns:
- human friendly provider name
-
describeConnection
@NotNull public String describeConnection(@NotNull Map<String,String> connectionProperties)
- Specified by:
describeConnection
in interfaceConnectionProvider
- Returns:
- specific information about the connection
-
getPropertiesProcessor
@Nullable public PropertiesProcessor getPropertiesProcessor()
- Specified by:
getPropertiesProcessor
in interfaceConnectionProvider
- Returns:
- processor for connection provider parameters. Properties processor performs validation function and is called when connection is edited or created.
-
getDefaultProperties
@Nullable public Map<String,String> getDefaultProperties()
- Specified by:
getDefaultProperties
in interfaceConnectionProvider
- Returns:
- all default parameters related to this ConnectionProvider. Defaults for all possible parameter names.
-
getEditParametersUrl
@Nullable public String getEditParametersUrl()
- Specified by:
getEditParametersUrl
in interfaceConnectionProvider
- Returns:
- URL to edit connection parameters page
-
isAvailable
public boolean isAvailable()
- Specified by:
isAvailable
in interfaceConnectionProvider
-
-