Class EnvironmentDefaultValueProvider

  • All Implemented Interfaces:
    picocli.CommandLine.IDefaultValueProvider

    public class EnvironmentDefaultValueProvider
    extends java.lang.Object
    implements picocli.CommandLine.IDefaultValueProvider
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.util.function.Function<java.lang.String,​java.lang.String> envLoader  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String defaultValue​(picocli.CommandLine.Model.ArgSpec argSpec)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • envLoader

        protected static java.util.function.Function<java.lang.String,​java.lang.String> envLoader
    • Constructor Detail

      • EnvironmentDefaultValueProvider

        public EnvironmentDefaultValueProvider()
    • Method Detail

      • defaultValue

        public java.lang.String defaultValue​(picocli.CommandLine.Model.ArgSpec argSpec)
                                      throws java.lang.Exception
        Specified by:
        defaultValue in interface picocli.CommandLine.IDefaultValueProvider
        Throws:
        java.lang.Exception