This project has retired. For details please refer to its Attic page.
Source code
001package org.apache.archiva.configuration;
002
003/*
004 * Licensed to the Apache Software Foundation (ASF) under one
005 * or more contributor license agreements.  See the NOTICE file
006 * distributed with this work for additional information
007 * regarding copyright ownership.  The ASF licenses this file
008 * to you under the Apache License, Version 2.0 (the
009 * "License"); you may not use this file except in compliance
010 * with the License.  You may obtain a copy of the License at
011 *
012 *   http://www.apache.org/licenses/LICENSE-2.0
013 *
014 * Unless required by applicable law or agreed to in writing,
015 * software distributed under the License is distributed on an
016 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017 * KIND, either express or implied.  See the License for the
018 * specific language governing permissions and limitations
019 * under the License.
020 */
021
022/**
023 * Class RepositoryCheckPath.
024 * 
025 * @version $Revision$ $Date$
026 */
027@SuppressWarnings( "all" )
028public class RepositoryCheckPath
029    implements java.io.Serializable
030{
031
032      //--------------------------/
033     //- Class/Member Variables -/
034    //--------------------------/
035
036    /**
037     * 
038     *             The URL for which this path should be used
039     *           .
040     */
041    private String url;
042
043    /**
044     * 
045     *             The path to use for checking the repository
046     * connection.
047     *           
048     */
049    private String path;
050
051
052      //-----------/
053     //- Methods -/
054    //-----------/
055
056    /**
057     * Get the path to use for checking the repository connection.
058     * 
059     * @return String
060     */
061    public String getPath()
062    {
063        return this.path;
064    } //-- String getPath()
065
066    /**
067     * Get the URL for which this path should be used.
068     * 
069     * @return String
070     */
071    public String getUrl()
072    {
073        return this.url;
074    } //-- String getUrl()
075
076    /**
077     * Set the path to use for checking the repository connection.
078     * 
079     * @param path
080     */
081    public void setPath( String path )
082    {
083        this.path = path;
084    } //-- void setPath( String )
085
086    /**
087     * Set the URL for which this path should be used.
088     * 
089     * @param url
090     */
091    public void setUrl( String url )
092    {
093        this.url = url;
094    } //-- void setUrl( String )
095
096}