1 // =================== DO NOT EDIT THIS FILE ====================
2 // Generated by Modello 1.7,
3 // any modifications will be overwritten.
4 // ==============================================================
5
6 package org.apache.archiva.configuration;
7
8 /**
9 *
10 * The user interface configuration settings.
11 *
12 *
13 * @version $Revision$ $Date$
14 */
15 @SuppressWarnings( "all" )
16 public class UserInterfaceOptions
17 implements java.io.Serializable
18 {
19
20 //--------------------------/
21 //- Class/Member Variables -/
22 //--------------------------/
23
24 /**
25 * true if find artifacts should be enabled.
26 */
27 private boolean showFindArtifacts = true;
28
29 /**
30 * true if applet behavior for find artifacts should be enabled.
31 */
32 private boolean appletFindEnabled = true;
33
34 /**
35 * Field disableEasterEggs.
36 */
37 private boolean disableEasterEggs = false;
38
39 /**
40 * Field applicationUrl.
41 */
42 private String applicationUrl;
43
44 /**
45 * Field disableRegistration.
46 */
47 private boolean disableRegistration = false;
48
49
50 //-----------/
51 //- Methods -/
52 //-----------/
53
54 /**
55 * Get the applicationUrl field.
56 *
57 * @return String
58 */
59 public String getApplicationUrl()
60 {
61 return this.applicationUrl;
62 } //-- String getApplicationUrl()
63
64 /**
65 * Get true if applet behavior for find artifacts should be
66 * enabled.
67 *
68 * @return boolean
69 */
70 public boolean isAppletFindEnabled()
71 {
72 return this.appletFindEnabled;
73 } //-- boolean isAppletFindEnabled()
74
75 /**
76 * Get the disableEasterEggs field.
77 *
78 * @return boolean
79 */
80 public boolean isDisableEasterEggs()
81 {
82 return this.disableEasterEggs;
83 } //-- boolean isDisableEasterEggs()
84
85 /**
86 * Get the disableRegistration field.
87 *
88 * @return boolean
89 */
90 public boolean isDisableRegistration()
91 {
92 return this.disableRegistration;
93 } //-- boolean isDisableRegistration()
94
95 /**
96 * Get true if find artifacts should be enabled.
97 *
98 * @return boolean
99 */
100 public boolean isShowFindArtifacts()
101 {
102 return this.showFindArtifacts;
103 } //-- boolean isShowFindArtifacts()
104
105 /**
106 * Set true if applet behavior for find artifacts should be
107 * enabled.
108 *
109 * @param appletFindEnabled
110 */
111 public void setAppletFindEnabled( boolean appletFindEnabled )
112 {
113 this.appletFindEnabled = appletFindEnabled;
114 } //-- void setAppletFindEnabled( boolean )
115
116 /**
117 * Set the applicationUrl field.
118 *
119 * @param applicationUrl
120 */
121 public void setApplicationUrl( String applicationUrl )
122 {
123 this.applicationUrl = applicationUrl;
124 } //-- void setApplicationUrl( String )
125
126 /**
127 * Set the disableEasterEggs field.
128 *
129 * @param disableEasterEggs
130 */
131 public void setDisableEasterEggs( boolean disableEasterEggs )
132 {
133 this.disableEasterEggs = disableEasterEggs;
134 } //-- void setDisableEasterEggs( boolean )
135
136 /**
137 * Set the disableRegistration field.
138 *
139 * @param disableRegistration
140 */
141 public void setDisableRegistration( boolean disableRegistration )
142 {
143 this.disableRegistration = disableRegistration;
144 } //-- void setDisableRegistration( boolean )
145
146 /**
147 * Set true if find artifacts should be enabled.
148 *
149 * @param showFindArtifacts
150 */
151 public void setShowFindArtifacts( boolean showFindArtifacts )
152 {
153 this.showFindArtifacts = showFindArtifacts;
154 } //-- void setShowFindArtifacts( boolean )
155
156 }