Class ApprovalBuildFeaturePropertiesProcessor

    • 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 interface PropertiesProcessor
        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.