Class Value

java.lang.Object
br.net.dd.netherwingcore.common.configuration.fields.Field
br.net.dd.netherwingcore.common.configuration.fields.Value

public class Value extends Field
The Value class represents a specific implementation of a Field that allows for the configuration of values within the NetherwingCore framework.

This class extends the Field class, inheriting its functionality and providing constructors for different ways of initializing Value objects. It is primarily used to encapsulate and handle value-related configurations in the system.

See Also:
  • Constructor Details

    • Value

      public Value(String valuePart, Type type)
      Constructs a Value object with a single value part and a specified type.
      Parameters:
      valuePart - a String representing the value part.
      type - the Type of the value, indicating its configuration type.
    • Value

      public Value(String... value)
      Constructs a Value object with multiple value parts.

      This constructor can be used when the value comprises multiple parts to be handled as a unit.

      Parameters:
      value - a varargs parameter representing one or more value parts as strings.