Class CommandConfiguration

    • Method Detail

      • of

        public static CommandConfiguration.Builder of​(Supplier<org.jboss.as.controller.client.ModelControllerClient> clientSupplier,
                                                      Supplier<MavenModelControllerClientConfiguration> clientConfigurationSupplier)
        Creates a new command configuration Builder.
        Parameters:
        clientSupplier - the supplier used to get a management client
        clientConfigurationSupplier - a supplier used to get the client configuration
        Returns:
        a new command configuration Builder.
      • getClient

        public org.jboss.as.controller.client.ModelControllerClient getClient()
        Returns the management client.
        Returns:
        the management client
      • isFork

        public boolean isFork()
        Indicates whether or not CLI commands should be executed in a new process.
        Returns:
        true to execute CLI commands in a new process
      • isOffline

        public boolean isOffline()
        Indicates whether or not this should be an offline process.
        Returns:
        true if this should be an offline process, otherwise false
      • isAutoReload

        public boolean isAutoReload()
        Indicants if the server should be reloaded if the server is in the reload-required state and isOffline() is false.
        Returns:
        true if a reload should execute if it's required, otherwise false