Interface DefaultValueResolver


  • public interface DefaultValueResolver
    This interface is used to get a default value for a wizard property based on a String representation of default value. This allows to use arbitrary object (e.g. Item) as a default values in a wizard.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getValue​(java.lang.String defaultValueRepresentation)
      Provides a value for given defaultValueRepresentation.
    • Method Detail

      • getValue

        java.lang.Object getValue​(java.lang.String defaultValueRepresentation)
        Provides a value for given defaultValueRepresentation.
        Parameters:
        defaultValueRepresentation - String representation of a default value. It must be unambiguous - so that there's only one possible value for every given defaultValueRepresentation.
        Returns:
        default value for given defaultValueRepresentation.