1 package org.apache.tomcat.maven.common.run;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 import org.apache.maven.artifact.Artifact;
22 import org.apache.maven.plugin.logging.Log;
23 import org.apache.maven.project.MavenProject;
24
25 import java.util.Set;
26
27
28
29
30
31 public class ClassLoaderEntriesCalculatorRequest
32 {
33 private MavenProject mavenProject;
34
35 private Set<Artifact> dependencies;
36
37 private Log log;
38
39 private boolean addWarDependenciesInClassloader;
40
41 private boolean useTestClassPath;
42
43 public MavenProject getMavenProject()
44 {
45 return mavenProject;
46 }
47
48 public ClassLoaderEntriesCalculatorRequest setMavenProject( MavenProject mavenProject )
49 {
50 this.mavenProject = mavenProject;
51 return this;
52 }
53
54 public Set<Artifact> getDependencies()
55 {
56 return dependencies;
57 }
58
59 public ClassLoaderEntriesCalculatorRequest setDependencies( Set<Artifact> dependencies )
60 {
61 this.dependencies = dependencies;
62 return this;
63 }
64
65 public Log getLog()
66 {
67 return log;
68 }
69
70 public ClassLoaderEntriesCalculatorRequest setLog( Log log )
71 {
72 this.log = log;
73 return this;
74 }
75
76 public boolean isAddWarDependenciesInClassloader()
77 {
78 return addWarDependenciesInClassloader;
79 }
80
81 public ClassLoaderEntriesCalculatorRequest setAddWarDependenciesInClassloader(
82 boolean addWarDependenciesInClassloader )
83 {
84 this.addWarDependenciesInClassloader = addWarDependenciesInClassloader;
85 return this;
86 }
87
88 public boolean isUseTestClassPath()
89 {
90 return useTestClassPath;
91 }
92
93 public ClassLoaderEntriesCalculatorRequest setUseTestClassPath( boolean useTestClassPath )
94 {
95 this.useTestClassPath = useTestClassPath;
96 return this;
97 }
98
99 }