001// =================== DO NOT EDIT THIS FILE ==================== 002// Generated by Modello 1.7, 003// any modifications will be overwritten. 004// ============================================================== 005 006package org.apache.archiva.configuration; 007 008/** 009 * 010 * The user interface configuration settings. 011 * 012 * 013 * @version $Revision$ $Date$ 014 */ 015@SuppressWarnings( "all" ) 016public class UserInterfaceOptions 017 implements java.io.Serializable 018{ 019 020 //--------------------------/ 021 //- Class/Member Variables -/ 022 //--------------------------/ 023 024 /** 025 * true if find artifacts should be enabled. 026 */ 027 private boolean showFindArtifacts = true; 028 029 /** 030 * true if applet behavior for find artifacts should be enabled. 031 */ 032 private boolean appletFindEnabled = true; 033 034 /** 035 * Field disableEasterEggs. 036 */ 037 private boolean disableEasterEggs = false; 038 039 /** 040 * Field applicationUrl. 041 */ 042 private String applicationUrl; 043 044 /** 045 * Field disableRegistration. 046 */ 047 private boolean disableRegistration = false; 048 049 050 //-----------/ 051 //- Methods -/ 052 //-----------/ 053 054 /** 055 * Get the applicationUrl field. 056 * 057 * @return String 058 */ 059 public String getApplicationUrl() 060 { 061 return this.applicationUrl; 062 } //-- String getApplicationUrl() 063 064 /** 065 * Get true if applet behavior for find artifacts should be 066 * enabled. 067 * 068 * @return boolean 069 */ 070 public boolean isAppletFindEnabled() 071 { 072 return this.appletFindEnabled; 073 } //-- boolean isAppletFindEnabled() 074 075 /** 076 * Get the disableEasterEggs field. 077 * 078 * @return boolean 079 */ 080 public boolean isDisableEasterEggs() 081 { 082 return this.disableEasterEggs; 083 } //-- boolean isDisableEasterEggs() 084 085 /** 086 * Get the disableRegistration field. 087 * 088 * @return boolean 089 */ 090 public boolean isDisableRegistration() 091 { 092 return this.disableRegistration; 093 } //-- boolean isDisableRegistration() 094 095 /** 096 * Get true if find artifacts should be enabled. 097 * 098 * @return boolean 099 */ 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}