1package org.apache.archiva.admin.model.beans;
2/*3 * Licensed to the Apache Software Foundation (ASF) under one4 * or more contributor license agreements. See the NOTICE file5 * distributed with this work for additional information6 * regarding copyright ownership. The ASF licenses this file7 * to you under the Apache License, Version 2.0 (the8 * "License"); you may not use this file except in compliance9 * with the License. You may obtain a copy of the License at10 *11 * http://www.apache.org/licenses/LICENSE-2.012 *13 * Unless required by applicable law or agreed to in writing,14 * software distributed under the License is distributed on an15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY16 * KIND, either express or implied. See the License for the17 * specific language governing permissions and limitations18 * under the License.19 */2021/**22 * @author Olivier Lamy23 * @since 1.4-M324 */25public enum ProxyConnectorRuleType26 {
27 WHITE_LIST( "whiteList" ), BLACK_LIST( "blackList" );
2829private String ruleType;
3031privateProxyConnectorRuleType( String ruleType )
32 {
33this.ruleType = ruleType;
34 }
3536publicvoid setRuleType( String ruleType )
37 {
38this.ruleType = ruleType;
39 }
4041public String getRuleType()
42 {
43return ruleType;
44 }
4546 @Override
47public String toString()
48 {
49final StringBuilder sb = new StringBuilder();
50 sb.append( "ProxyConnectorRuleType" );
51 sb.append( "{ruleType='" ).append( ruleType ).append( '\'' );
52 sb.append( '}' );
53return sb.toString();
54 }
55 }