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.SProjectFeatureDescriptorremove(SProject project)A callback invoked whenSProject.removeFeature(String)method is called for this featureTransientProjectFeatureDescriptor.UpdateupdateFeature(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:TransientProjectFeatureDescriptorA callback invoked whenSProject.removeFeature(String)method is called for this feature- Specified by:
removein 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:TransientProjectFeatureDescriptorCallback invoked whenSProject.updateFeature(String, String, Map)method is called for this feature- Specified by:
updateFeaturein 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:ParametersDescriptorReturns parameters map.- Specified by:
getParametersin interfaceParametersDescriptor- Overrides:
getParametersin classProjectFeatureDescriptorImpl- Returns:
- parameters map
-
-