Class Nice2VersionInitializer

java.lang.Object
ch.tocco.nice2.toolbox.api.Nice2VersionInitializer
All Implemented Interfaces:
Runnable

public class Nice2VersionInitializer extends Object implements Runnable
Sets the content of 'nice,version' to system property `nice2.version`.
  • Constructor Details

    • Nice2VersionInitializer

      public Nice2VersionInitializer(org.slf4j.Logger log)
  • Method Details

    • setVersion

      @Value("${nice.version}") public void setVersion(String version)
    • run

      public void run()
      Specified by:
      run in interface Runnable