public class ReadOnlyVersionFilter extends VersionFilter implements Serializable
| Modifier and Type | Field and Description |
|---|---|
List<String> |
readOnlyLoadLines |
File |
view |
| Constructor and Description |
|---|
ReadOnlyVersionFilter(File view,
List<String> readOnlyLoadLines)
A load line in unix looks like this: /vobs/myCompA
A load line in windows looks like this: \vobfolder\myCompA
This filter will discard changes to files where the path to the changed file matches [viewroot][path seperator][readOnlyLoadLine]
|
public final File view
public ReadOnlyVersionFilter(File view, List<String> readOnlyLoadLines)
view - The view root (FilereadOnlyLoadLines - The load paths, they are relative to the view you're standing in.public int filter(VersionList versions)
filter in class VersionFilterCopyright © 2016–2018. All rights reserved.