
hudson.scm.CVSRepositoryBrowser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cvs Show documentation
Show all versions of cvs Show documentation
Integrates Hudson with CVS SCM
The newest version!
/*******************************************************************************
*
* Copyright (c) 2004-2011 Oracle Corporation.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*
* Kohsuke Kawaguchi
*
*******************************************************************************/
package hudson.scm;
import hudson.scm.CVSChangeLogSet.CVSChangeLog;
import java.io.IOException;
import java.net.URL;
/**
* {@link hudson.scm.RepositoryBrowser} for CVS.
*
* @author Kohsuke Kawaguchi
*/
public abstract class CVSRepositoryBrowser extends RepositoryBrowser {
/**
* Determines the link to the diff between the version
* in the {@link CVSChangeLogSet.File} to its previous version.
*
* @return
* null if the browser doesn't have any URL for diff.
*/
public abstract URL getDiffLink(CVSChangeLogSet.File file) throws IOException;
/**
* Determines the link to a single file under CVS.
* This page should display all the past revisions of this file, etc.
*
* @return
* null if the browser doesn't have any suitable URL.
*/
public abstract URL getFileLink(CVSChangeLogSet.File file) throws IOException;
private static final long serialVersionUID = 1L;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy