1 package org.apache.archiva.configuration;
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
24 * The user interface configuration settings.
27 * @version $Revision$ $Date$
29 @SuppressWarnings( "all" )
30 public class UserInterfaceOptions
31 implements java.io.Serializable
34 //--------------------------/
35 //- Class/Member Variables -/
36 //--------------------------/
39 * true if find artifacts should be enabled.
41 private boolean showFindArtifacts = true;
44 * true if applet behavior for find artifacts should be enabled.
46 private boolean appletFindEnabled = true;
49 * Field disableEasterEggs.
51 private boolean disableEasterEggs = false;
54 * Field applicationUrl.
56 private String applicationUrl;
59 * Field disableRegistration.
61 private boolean disableRegistration = false;
69 * Get the applicationUrl field.
73 public String getApplicationUrl()
75 return this.applicationUrl;
76 } //-- String getApplicationUrl()
79 * Get true if applet behavior for find artifacts should be
84 public boolean isAppletFindEnabled()
86 return this.appletFindEnabled;
87 } //-- boolean isAppletFindEnabled()
90 * Get the disableEasterEggs field.
94 public boolean isDisableEasterEggs()
96 return this.disableEasterEggs;
97 } //-- boolean isDisableEasterEggs()
100 * Get the disableRegistration field.
104 public boolean isDisableRegistration()
106 return this.disableRegistration;
107 } //-- boolean isDisableRegistration()
110 * Get true if find artifacts should be enabled.
114 public boolean isShowFindArtifacts()
116 return this.showFindArtifacts;
117 } //-- boolean isShowFindArtifacts()
120 * Set true if applet behavior for find artifacts should be
123 * @param appletFindEnabled
125 public void setAppletFindEnabled( boolean appletFindEnabled )
127 this.appletFindEnabled = appletFindEnabled;
128 } //-- void setAppletFindEnabled( boolean )
131 * Set the applicationUrl field.
133 * @param applicationUrl
135 public void setApplicationUrl( String applicationUrl )
137 this.applicationUrl = applicationUrl;
138 } //-- void setApplicationUrl( String )
141 * Set the disableEasterEggs field.
143 * @param disableEasterEggs
145 public void setDisableEasterEggs( boolean disableEasterEggs )
147 this.disableEasterEggs = disableEasterEggs;
148 } //-- void setDisableEasterEggs( boolean )
151 * Set the disableRegistration field.
153 * @param disableRegistration
155 public void setDisableRegistration( boolean disableRegistration )
157 this.disableRegistration = disableRegistration;
158 } //-- void setDisableRegistration( boolean )
161 * Set true if find artifacts should be enabled.
163 * @param showFindArtifacts
165 public void setShowFindArtifacts( boolean showFindArtifacts )
167 this.showFindArtifacts = showFindArtifacts;
168 } //-- void setShowFindArtifacts( boolean )