Set<FileRef> sourcePaths,
String outputFile,
long compilationVersion,
AlertPolicy alertPolicy) {
SourcePathFileSystem sourcePathFs = new SourcePathFileSystem(inputFileSystem,
sourcePaths,
sourceFiles,
outputFileSystem.getRoot());
this.sourceFiles = ImmutableSet.copyOf(sourcePathFs.getSourceFileRefs());
this.schemaFiles = ImmutableSet.copyOf(sourceSchemas);
this.sourceEntityResolver = new FileSystemEntityResolver(sourcePathFs);
this.allowedOutputFiles = ImmutableSet.of(sourcePathFs.parseFilename(outputFile));
this.compilationVersion = compilationVersion;
this.alertPolicy = Preconditions.checkNotNull(alertPolicy);
}