Class CommandLinePropertySource

java.lang.Object
io.micronaut.context.env.MapPropertySource
io.micronaut.context.env.CommandLinePropertySource
All Implemented Interfaces:
PropertySource, io.micronaut.core.order.Ordered, Iterable<String>

public class CommandLinePropertySource extends MapPropertySource
A PropertySource for properties parsed from the command line.
Since:
1.0
  • Field Details

  • Constructor Details

    • CommandLinePropertySource

      public CommandLinePropertySource(io.micronaut.core.cli.CommandLine commandLine)
      Construct the CommandLinePropertySource from properties passed from command line.
      Parameters:
      commandLine - Represents the parsed command line options.
  • Method Details

    • getOrder

      public int getOrder()