Class ApprovalBuildFeaturePropertiesProcessor
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.approval.ApprovalBuildFeaturePropertiesProcessor
-
- All Implemented Interfaces:
PropertiesProcessor
public class ApprovalBuildFeaturePropertiesProcessor extends Object implements PropertiesProcessor
-
-
Constructor Summary
Constructors Constructor Description ApprovalBuildFeaturePropertiesProcessor(ApprovableBuildManager approvableBuildManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<InvalidProperty>
process(Map<String,String> properties)
Will be called when user attempts to save properties from the user interface or when runner parameters are used to compute agent compatibility for a build configuration.
-
-
-
Constructor Detail
-
ApprovalBuildFeaturePropertiesProcessor
public ApprovalBuildFeaturePropertiesProcessor(ApprovableBuildManager approvableBuildManager)
-
-
Method Detail
-
process
public Collection<InvalidProperty> process(Map<String,String> properties)
Description copied from interface:PropertiesProcessor
Will be called when user attempts to save properties from the user interface or when runner parameters are used to compute agent compatibility for a build configuration. Properties map passed as argument can be verified or modified by the processor (for example, one could remove all properties with empty values from this map). If processor was called during saving properties to a configuration file, then modified map will be stored without changes.- Specified by:
process
in interfacePropertiesProcessor
- Parameters:
properties
- properties to process- Returns:
- collection of invalid properties, if this collection is not empty properties will not be saved into the configuration file.
-
-