Class IsProduction

java.lang.Object
io.quarkus.deployment.IsProduction
All Implemented Interfaces:
BooleanSupplier

public class IsProduction extends Object implements BooleanSupplier
boolean supplier that returns true if the application is running in production mode i.e. either NORMAL or RUN. Intended for use with BuildStep.onlyIf()
  • Constructor Details

    • IsProduction

      public IsProduction(io.quarkus.runtime.LaunchMode launchMode)
  • Method Details