All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.hudson.scm.subversion.SVNRevisionState Maven / Gradle / Ivy

There is a newer version: 3.0.1
Show 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, Jean-Baptiste Quenot,
 * Seiji Sogabe, Alan Harder, Vojtech Habarta, Yahoo! Inc.
 *
 *******************************************************************************/
package org.eclipse.hudson.scm.subversion;

import hudson.scm.SCMRevisionState;
import java.io.Serializable;
import java.util.Map;

/**
 * {@link hudson.scm.SCMRevisionState} for {@link SubversionSCM}. {@link Serializable} since we compute
 * this remote.
 */
final class SVNRevisionState extends SCMRevisionState implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * All the remote locations that we checked out. This includes those that are specified
     * explicitly via {@link SubversionSCM#getLocations()} as well as those that
     * are implicitly pulled in via svn:externals, but it excludes those locations that
     * are added via svn:externals in a way that fixes revisions.
     */
    final Map revisions;

    SVNRevisionState(Map revisions) {
        this.revisions = revisions;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy