com.spss.psapi.extensions.common.spi2

Interface PropertyValidator



  • public interface PropertyValidator
    This is a marker class for delegates that support property validation. Delegates that also implement this interface can be called to validate property settings at various times such as when a node is executed or when controls in the user interface have been modified.
    Since:
    PSAPI 17.1
    Author:
    Julian Clinton
    See Also:
    ExtensionObjectDelegate, Diagnostic
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.util.List<Diagnostic> validateProperties(Properties properties)
      Called to verify the set of supplied property values and create a list of diagnostic messages.
    • Method Detail

      • validateProperties

        java.util.List<Diagnostic> validateProperties(Properties properties)
        Called to verify the set of supplied property values and create a list of diagnostic messages. If any diagnostic in the returned list has an error severity and this is being called when the stream is being prepared for execution then execution will be interrupted. The supplied map of values should be used because that may be called with property values that have not yet been committed back to the underlying node or output (for example, when a control has been changed in the user interface).
        Parameters:
        properties - the set of current property values
        Returns:
        diagnostics associated with the settings

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.