Class StringValueConfig

All Implemented Interfaces:
Serializable, ConfigVisitorNode, TypeProvider

public class StringValueConfig extends ValueConfig
String value.
Author:
Ales Justin
See Also:
  • Constructor Details

    • StringValueConfig

      public StringValueConfig()
  • Method Details

    • visit

      public void visit(ConfigVisitor visitor)
      Description copied from interface: ConfigVisitorNode
      Visit metadata node. e.g. add dependencies to service builder.
      Specified by:
      visit in interface ConfigVisitorNode
      Overrides:
      visit in class AbstractConfigVisitorNode
      Parameters:
      visitor - the config visitor
    • getClassValue

      protected Object getClassValue(Class<?> type)
      Description copied from class: ValueConfig
      Get value, use type to narrow down exact value.
      Specified by:
      getClassValue in class ValueConfig
      Parameters:
      type - the injection point type
      Returns:
      value
    • setValue

      public void setValue(String value)
    • setReplaceProperties

      public void setReplaceProperties(boolean replaceProperties)
    • setTrim

      public void setTrim(boolean trim)