Package jetbrains.buildServer.serverSide
Interface PropertiesProcessor
-
- All Known Implementing Classes:
AbstractVcsPropertiesProcessor
public interface PropertiesProcessor
Implement to apply additional validation on parameters specified by user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<InvalidProperty>
process(java.util.Map<java.lang.String,java.lang.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.
-
-
-
Method Detail
-
process
java.util.Collection<InvalidProperty> process(java.util.Map<java.lang.String,java.lang.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. 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.- 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.
-
-