# Class WelcomeMessageConfiguration

java.lang.Object
org.gradle.api.launcher.cli.WelcomeMessageConfiguration

All Implemented Interfaces:
  `Serializable`

@Incubating public class WelcomeMessageConfiguration extends Object implements Serializable
Configures when to display the welcome message on the command line.

Since:
  7.5
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WelcomeMessageConfiguration(WelcomeMessageDisplayMode welcomeMessageDisplayMode)`
  Creates a new `WelcomeMessageConfiguration`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `WelcomeMessageDisplayMode`
  `getWelcomeMessageDisplayMode()`
  Returns the welcome message display mode.
  `void`
  `setWelcomeMessageDisplayMode(WelcomeMessageDisplayMode welcomeMessageDisplayMode)`
  Sets the welcome message display mode.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### WelcomeMessageConfiguration

    public WelcomeMessageConfiguration(WelcomeMessageDisplayMode welcomeMessageDisplayMode)
    Creates a new `WelcomeMessageConfiguration`.
    Since:
      7.5

- ## Method Details

  - ### getWelcomeMessageDisplayMode

    public WelcomeMessageDisplayMode getWelcomeMessageDisplayMode()
    Returns the welcome message display mode.
    Since:
      7.5

  - ### setWelcomeMessageDisplayMode

    public void setWelcomeMessageDisplayMode(WelcomeMessageDisplayMode welcomeMessageDisplayMode)
    Sets the welcome message display mode.
    Since:
      7.5