View Javadoc

1   package org.kuali.common.util.project.model;
2   
3   import java.io.File;
4   
5   import org.kuali.common.util.Assert;
6   
7   public final class Build {
8   
9   	public Build(Project project, String encoding, File projectDir, File directory, File outputDir, File sourceDir, File scriptSourceDir, File testOutputDir, File testSourceDir) {
10  		Assert.noNulls(project, encoding, projectDir, directory, outputDir, sourceDir, scriptSourceDir, testOutputDir, testSourceDir);
11  		this.project = project;
12  		this.encoding = encoding;
13  		this.projectDir = projectDir;
14  		this.directory = directory;
15  		this.outputDir = outputDir;
16  		this.sourceDir = sourceDir;
17  		this.scriptSourceDir = scriptSourceDir;
18  		this.testOutputDir = testOutputDir;
19  		this.testSourceDir = testSourceDir;
20  	}
21  
22  	private final Project project;
23  	private final String encoding;
24  	private final File projectDir;
25  	private final File directory;
26  	private final File outputDir;
27  	private final File sourceDir;
28  	private final File scriptSourceDir;
29  	private final File testOutputDir;
30  	private final File testSourceDir;
31  
32  	public File getProjectDir() {
33  		return projectDir;
34  	}
35  
36  	public File getDirectory() {
37  		return directory;
38  	}
39  
40  	public File getOutputDir() {
41  		return outputDir;
42  	}
43  
44  	public File getSourceDir() {
45  		return sourceDir;
46  	}
47  
48  	public File getScriptSourceDir() {
49  		return scriptSourceDir;
50  	}
51  
52  	public File getTestOutputDir() {
53  		return testOutputDir;
54  	}
55  
56  	public File getTestSourceDir() {
57  		return testSourceDir;
58  	}
59  
60  	public Project getProject() {
61  		return project;
62  	}
63  
64  	public String getEncoding() {
65  		return encoding;
66  	}
67  
68  }