This project has retired. For details please refer to its Attic page.
UserInterfaceOptions xref
View Javadoc
1   package org.apache.archiva.configuration;
2   
3   /*
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
11   *
12   *   http://www.apache.org/licenses/LICENSE-2.0
13   *
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
19   * under the License.
20   */
21  
22  /**
23   * 
24   *         The user interface configuration settings.
25   *       
26   * 
27   * @version $Revision$ $Date$
28   */
29  @SuppressWarnings( "all" )
30  public class UserInterfaceOptions
31      implements java.io.Serializable
32  {
33  
34        //--------------------------/
35       //- Class/Member Variables -/
36      //--------------------------/
37  
38      /**
39       * true if find artifacts should be enabled.
40       */
41      private boolean showFindArtifacts = true;
42  
43      /**
44       * true if applet behavior for find artifacts should be enabled.
45       */
46      private boolean appletFindEnabled = true;
47  
48      /**
49       * Field disableEasterEggs.
50       */
51      private boolean disableEasterEggs = false;
52  
53      /**
54       * Field applicationUrl.
55       */
56      private String applicationUrl;
57  
58      /**
59       * Field disableRegistration.
60       */
61      private boolean disableRegistration = false;
62  
63  
64        //-----------/
65       //- Methods -/
66      //-----------/
67  
68      /**
69       * Get the applicationUrl field.
70       * 
71       * @return String
72       */
73      public String getApplicationUrl()
74      {
75          return this.applicationUrl;
76      } //-- String getApplicationUrl()
77  
78      /**
79       * Get true if applet behavior for find artifacts should be
80       * enabled.
81       * 
82       * @return boolean
83       */
84      public boolean isAppletFindEnabled()
85      {
86          return this.appletFindEnabled;
87      } //-- boolean isAppletFindEnabled()
88  
89      /**
90       * Get the disableEasterEggs field.
91       * 
92       * @return boolean
93       */
94      public boolean isDisableEasterEggs()
95      {
96          return this.disableEasterEggs;
97      } //-- boolean isDisableEasterEggs()
98  
99      /**
100      * Get the disableRegistration field.
101      * 
102      * @return boolean
103      */
104     public boolean isDisableRegistration()
105     {
106         return this.disableRegistration;
107     } //-- boolean isDisableRegistration()
108 
109     /**
110      * Get true if find artifacts should be enabled.
111      * 
112      * @return boolean
113      */
114     public boolean isShowFindArtifacts()
115     {
116         return this.showFindArtifacts;
117     } //-- boolean isShowFindArtifacts()
118 
119     /**
120      * Set true if applet behavior for find artifacts should be
121      * enabled.
122      * 
123      * @param appletFindEnabled
124      */
125     public void setAppletFindEnabled( boolean appletFindEnabled )
126     {
127         this.appletFindEnabled = appletFindEnabled;
128     } //-- void setAppletFindEnabled( boolean )
129 
130     /**
131      * Set the applicationUrl field.
132      * 
133      * @param applicationUrl
134      */
135     public void setApplicationUrl( String applicationUrl )
136     {
137         this.applicationUrl = applicationUrl;
138     } //-- void setApplicationUrl( String )
139 
140     /**
141      * Set the disableEasterEggs field.
142      * 
143      * @param disableEasterEggs
144      */
145     public void setDisableEasterEggs( boolean disableEasterEggs )
146     {
147         this.disableEasterEggs = disableEasterEggs;
148     } //-- void setDisableEasterEggs( boolean )
149 
150     /**
151      * Set the disableRegistration field.
152      * 
153      * @param disableRegistration
154      */
155     public void setDisableRegistration( boolean disableRegistration )
156     {
157         this.disableRegistration = disableRegistration;
158     } //-- void setDisableRegistration( boolean )
159 
160     /**
161      * Set true if find artifacts should be enabled.
162      * 
163      * @param showFindArtifacts
164      */
165     public void setShowFindArtifacts( boolean showFindArtifacts )
166     {
167         this.showFindArtifacts = showFindArtifacts;
168     } //-- void setShowFindArtifacts( boolean )
169 
170 }