Class SpaceTemporaryConnection
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.ProjectFeatureDescriptorImpl
-
- jetbrains.buildServer.serverSide.oauth.space.SpaceTemporaryConnection
-
- All Implemented Interfaces:
TransientProjectFeatureDescriptor
,ParametersDescriptor
,SProjectFeatureDescriptor
public class SpaceTemporaryConnection extends ProjectFeatureDescriptorImpl implements TransientProjectFeatureDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.serverSide.impl.projects.features.TransientProjectFeatureDescriptor
TransientProjectFeatureDescriptor.Update
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getParameters()
Returns parameters map.SProjectFeatureDescriptor
remove(SProject project)
A callback invoked whenSProject.removeFeature(String)
method is called for this featureTransientProjectFeatureDescriptor.Update
updateFeature(String featureId, String newType, Map<String,String> newParams)
Callback invoked whenSProject.updateFeature(String, String, Map)
method is called for this feature-
Methods inherited from class jetbrains.buildServer.serverSide.impl.ProjectFeatureDescriptorImpl
equals, getId, getProjectId, getType, hashCode, toString
-
-
-
-
Method Detail
-
remove
@Nullable public SProjectFeatureDescriptor remove(@NotNull SProject project)
Description copied from interface:TransientProjectFeatureDescriptor
A callback invoked whenSProject.removeFeature(String)
method is called for this feature- Specified by:
remove
in interfaceTransientProjectFeatureDescriptor
- Parameters:
project
- Reference to the project where removeFeature was called- Returns:
- null if nothing has changed, the feature itself if it was removed
-
updateFeature
@Nullable public TransientProjectFeatureDescriptor.Update updateFeature(@NotNull String featureId, @NotNull String newType, @NotNull Map<String,String> newParams)
Description copied from interface:TransientProjectFeatureDescriptor
Callback invoked whenSProject.updateFeature(String, String, Map)
method is called for this feature- Specified by:
updateFeature
in interfaceTransientProjectFeatureDescriptor
- Parameters:
featureId
- id for the updated featurenewType
- type for the updated featurenewParams
- parameters for the updated feature- Returns:
- null if nothing has changed, Update object if feature was updated
-
getParameters
@NotNull public Map<String,String> getParameters()
Description copied from interface:ParametersDescriptor
Returns parameters map.- Specified by:
getParameters
in interfaceParametersDescriptor
- Overrides:
getParameters
in classProjectFeatureDescriptorImpl
- Returns:
- parameters map
-
-