1 package org.apache.maven.lifecycle.internal;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.execution.MavenExecutionResult;
23
24
25
26
27
28
29
30
31
32 public class ReactorContext
33 {
34 private final MavenExecutionResult result;
35
36 private final ProjectIndex projectIndex;
37
38 private final ClassLoader originalContextClassLoader;
39
40 private final ReactorBuildStatus reactorBuildStatus;
41
42 public ReactorContext( MavenExecutionResult result, ProjectIndex projectIndex,
43 ClassLoader originalContextClassLoader, ReactorBuildStatus reactorBuildStatus )
44 {
45 this.result = result;
46 this.projectIndex = projectIndex;
47 this.originalContextClassLoader = originalContextClassLoader;
48 this.reactorBuildStatus = reactorBuildStatus;
49 }
50
51 public ReactorBuildStatus getReactorBuildStatus()
52 {
53 return reactorBuildStatus;
54 }
55
56 public MavenExecutionResult getResult()
57 {
58 return result;
59 }
60
61 public ProjectIndex getProjectIndex()
62 {
63 return projectIndex;
64 }
65
66 public ClassLoader getOriginalContextClassLoader()
67 {
68 return originalContextClassLoader;
69 }
70
71 }