Uses of Class
org.apache.juneau.microservice.Microservice.Builder
Packages that use Microservice.Builder
-
Uses of Microservice.Builder in org.apache.juneau.microservice
Methods in org.apache.juneau.microservice that return Microservice.BuilderModifier and TypeMethodDescriptionSpecifies the command-line arguments passed into the Java command.Specifies the command-line arguments passed into the Java command.Specifies the config for initializing this microservice.Microservice.Builder.configName
(String configName) Specifies the config name for initializing this microservice.Microservice.Builder.configStore
(ConfigStore configStore) Specifies the config store to use for storing and retrieving configurations.Microservice.Builder.console
(Scanner consoleReader, PrintWriter consoleWriter) Specifies the console input and output.Microservice.Builder.consoleCommands
(Class<? extends ConsoleCommand>... consoleCommands) Specifies console commands to make available on the Java console.Microservice.Builder.consoleCommands
(ConsoleCommand... consoleCommands) Specifies console commands to make available on the Java console.Microservice.Builder.consoleEnabled
(boolean consoleEnabled) Specifies that the Java console is enabled for this microservice.Microservice.Builder.copy()
Creates a copy of this builder.static Microservice.Builder
Microservice.create()
Creates a new builder for this object.Microservice.Builder.listener
(MicroserviceListener listener) Registers an event listener for this microservice.Specifies logging instructions for the microservice.Specifies the logger used by the microservice and returned by theMicroservice.getLogger()
method.Specifies the manifest file of the jar file this microservice is contained within.Adds a bean for vars defined in the var resolver.Augments the set of variables defined in the configuration and var resolver.Microservice.Builder.workingDir
(File workingDir) Specifies the directory to use to resolve the config file and other paths defined with the config file.Microservice.Builder.workingDir
(String workingDir) Specifies the directory to use to resolve the config file and other paths defined with the config file.Constructors in org.apache.juneau.microservice with parameters of type Microservice.BuilderModifierConstructorDescriptionprotected
Builder
(Microservice.Builder copyFrom) Copy constructor.protected
Microservice
(Microservice.Builder builder) Constructor. -
Uses of Microservice.Builder in org.apache.juneau.microservice.jetty
Subclasses of Microservice.Builder in org.apache.juneau.microservice.jetty