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.persistence.Entity;
23import javax.xml.bind.annotation.XmlRootElement;
24import java.io.Serializable;
2526/**27 * Information about the CI system used by the project.28 *29 * TODO considering moving this to a facet - avoid referring to it externally30 */31 @XmlRootElement(name = "ciManagement")
32publicclassCiManagement33implements Serializable
34 {
35/**36 * A simple identifier for the type of CI server used, eg <tt>continuum</tt>, <tt>bamboo</tt>, <tt>hudson</tt>, etc.37 */38private String system;
3940/**41 * The base URL of the CI system.42 */43private String url;
4445publicCiManagement()
46 {
47// no op48 }
4950publicCiManagement( String system, String url )
51 {
52this.system = system;
53this.url = url;
54 }
5556public String getUrl()
57 {
58return url;
59 }
6061publicvoid setUrl( String url )
62 {
63this.url = url;
64 }
6566public String getSystem()
67 {
68return system;
69 }
7071publicvoid setSystem( String system )
72 {
73this.system = system;
74 }
7576 @Override
77public String toString()
78 {
79return"CiManagement{" +
80"system='" + system + '\'' +
81", url='" + url + '\'' +
82 '}';
83 }
84 }