mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
needs to be serializable, since SCM objects often get shipped to a remote host.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2688 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
9f7a41cd0a
commit
46e5f0fc2c
6 files changed
+14
-1
No files matched your search
@@ -30,4 +30,6 @@ public abstract class CVSRepositoryBrowser extends RepositoryBrowser<CVSChangeLo
|
||||
* 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;
|
||||
}
|
||||
@@ -4,6 +4,7 @@ import hudson.ExtensionPoint;
|
||||
import hudson.model.Describable;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.net.URL;
|
||||
|
||||
/**
|
||||
@@ -26,7 +27,7 @@ import java.net.URL;
|
||||
* @since 1.89
|
||||
* @see RepositoryBrowsers
|
||||
*/
|
||||
public abstract class RepositoryBrowser<E extends ChangeLogSet.Entry> implements ExtensionPoint, Describable<RepositoryBrowser<?>> {
|
||||
public abstract class RepositoryBrowser<E extends ChangeLogSet.Entry> implements ExtensionPoint, Describable<RepositoryBrowser<?>>, Serializable {
|
||||
/**
|
||||
* Determines the link to the given change set.
|
||||
*
|
||||
@@ -44,4 +45,6 @@ public abstract class RepositoryBrowser<E extends ChangeLogSet.Entry> implements
|
||||
if(s.startsWith("/")) return s.substring(1);
|
||||
return s;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
@@ -26,4 +26,6 @@ public abstract class SubversionRepositoryBrowser extends RepositoryBrowser<Subv
|
||||
* null if the browser doesn't have any suitable URL.
|
||||
*/
|
||||
public abstract URL getFileLink(SubversionChangeLogSet.Path path) throws IOException;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
@@ -150,4 +150,6 @@ public class FishEyeSVN extends SubversionRepositoryBrowser {
|
||||
|
||||
private static final Pattern URL_PATTERN = Pattern.compile(".+/browse/[^/]+/");
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
@@ -69,4 +69,6 @@ public final class ViewCVS extends CVSRepositoryBrowser {
|
||||
return req.bindParameters(ViewCVS.class,"viewcvs.");
|
||||
}
|
||||
};
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
@@ -68,4 +68,6 @@ public class ViewSVN extends SubversionRepositoryBrowser {
|
||||
return req.bindParameters(ViewSVN.class,"viewsvn.");
|
||||
}
|
||||
};
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
Reference in new issue
Block a user