1package org.apache.archiva.metadata.model;
23/*4 * Licensed to the Apache Software Foundation (ASF) under one5 * or more contributor license agreements. See the NOTICE file6 * distributed with this work for additional information7 * regarding copyright ownership. The ASF licenses this file8 * to you under the Apache License, Version 2.0 (the9 * "License"); you may not use this file except in compliance10 * with the License. You may obtain a copy of the License at11 *12 * http://www.apache.org/licenses/LICENSE-2.013 *14 * Unless required by applicable law or agreed to in writing,15 * software distributed under the License is distributed on an16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY17 * KIND, either express or implied. See the License for the18 * specific language governing permissions and limitations19 * under the License.20 */2122import javax.xml.bind.annotation.XmlRootElement;
23import java.io.Serializable;
2425/**26 * Information about the CI system used by the project.27 *28 * TODO considering moving this to a facet - avoid referring to it externally29 */30 @XmlRootElement(name = "ciManagement")
31publicclassCiManagement32implements Serializable
33 {
34/**35 * A simple identifier for the type of CI server used, eg <tt>continuum</tt>, <tt>bamboo</tt>, <tt>hudson</tt>, etc.36 */37private String system;
3839/**40 * The base URL of the CI system.41 */42private String url;
4344publicCiManagement()
45 {
46// no op47 }
4849publicCiManagement( String system, String url )
50 {
51this.system = system;
52this.url = url;
53 }
5455public String getUrl()
56 {
57return url;
58 }
5960publicvoid setUrl( String url )
61 {
62this.url = url;
63 }
6465public String getSystem()
66 {
67return system;
68 }
6970publicvoid setSystem( String system )
71 {
72this.system = system;
73 }
7475 @Override
76public String toString()
77 {
78return"CiManagement{" +
79"system='" + system + '\'' +
80", url='" + url + '\'' +
81 '}';
82 }
83 }