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

    Modifier and Type
    Method
    Description
    getValue(String defaultValueRepresentation)
    Provides a value for given defaultValueRepresentation.
  • Method Details

    • getValue

      Object getValue(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.