aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs169/pr309440/foobar/ExportMode.java
blob: 6611c8504df62ccce3cdcc3dd80cf90493fa0f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package foobar;

import javax.annotation.Nonnull;

public enum ExportMode
{
  /**
   * export configuration and project data
   */
  COMPLETE("Complete"),

  /**
   * exports configuration only
   */
  CONFIGURATION_ONLY("Configuration only");

  /**
   * The display-name
   */
  private final String mDisplayName;

  /**
   * Stores the displayName
   * @param aDisplayName
   */
  ExportMode(@Nonnull String aDisplayName)
  {
    mDisplayName = aDisplayName;
  }

  /**
   * 
   * @return the display name
   */
  public @Nonnull
  String getDisplayName()
  {
    return mDisplayName;
  }

}