This project has retired. For details please refer to its
Attic page.
UiConfiguration xref
1 package org.apache.archiva.admin.model.beans;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 import javax.xml.bind.annotation.XmlRootElement;
22
23
24
25
26
27 @XmlRootElement( name = "uiConfiguration" )
28 public class UiConfiguration
29 {
30
31
32
33 private boolean showFindArtifacts = true;
34
35
36
37
38 private boolean appletFindEnabled = true;
39
40
41
42
43 private boolean disableEasterEggs = false;
44
45
46
47
48 private String applicationUrl;
49
50
51
52
53 private boolean disableRegistration = false;
54
55 public UiConfiguration()
56 {
57
58 }
59
60 public boolean isShowFindArtifacts()
61 {
62 return showFindArtifacts;
63 }
64
65 public void setShowFindArtifacts( boolean showFindArtifacts )
66 {
67 this.showFindArtifacts = showFindArtifacts;
68 }
69
70 public boolean isAppletFindEnabled()
71 {
72 return appletFindEnabled;
73 }
74
75 public void setAppletFindEnabled( boolean appletFindEnabled )
76 {
77 this.appletFindEnabled = appletFindEnabled;
78 }
79
80 public boolean isDisableEasterEggs()
81 {
82 return disableEasterEggs;
83 }
84
85 public void setDisableEasterEggs( boolean disableEasterEggs )
86 {
87 this.disableEasterEggs = disableEasterEggs;
88 }
89
90 public String getApplicationUrl()
91 {
92 return applicationUrl;
93 }
94
95 public void setApplicationUrl( String applicationUrl )
96 {
97 this.applicationUrl = applicationUrl;
98 }
99
100 public boolean isDisableRegistration()
101 {
102 return disableRegistration;
103 }
104
105 public void setDisableRegistration( boolean disableRegistration )
106 {
107 this.disableRegistration = disableRegistration;
108 }
109
110 @Override
111 public String toString()
112 {
113 final StringBuilder sb = new StringBuilder();
114 sb.append( "UiConfiguration" );
115 sb.append( "{showFindArtifacts=" ).append( showFindArtifacts );
116 sb.append( ", appletFindEnabled=" ).append( appletFindEnabled );
117 sb.append( ", disableEasterEggs=" ).append( disableEasterEggs );
118 sb.append( ", applicationUrl='" ).append( applicationUrl ).append( '\'' );
119 sb.append( ", disableRegistration=" ).append( disableRegistration );
120 sb.append( '}' );
121 return sb.toString();
122 }
123 }