Class ApplicationProperties

java.lang.Object
io.spring.initializr.generator.spring.properties.ApplicationProperties

public class ApplicationProperties extends Object
Application properties.
Author:
Moritz Halbritter
  • Constructor Details

    • ApplicationProperties

      public ApplicationProperties()
  • Method Details

    • add

      public void add(String key, long value)
      Adds a new property.
      Parameters:
      key - the key of the property
      value - the value of the property
    • add

      public void add(String key, boolean value)
      Adds a new property.
      Parameters:
      key - the key of the property
      value - the value of the property
    • add

      public void add(String key, double value)
      Adds a new property.
      Parameters:
      key - the key of the property
      value - the value of the property
    • add

      public void add(String key, String value)
      Adds a new property.
      Parameters:
      key - the key of the property
      value - the value of the property