View Javadoc
1   package org.apache.maven.execution;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *   http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  /**
23   * Provides a skeleton implementation for execution listeners. The methods of this class are empty.
24   *
25   * @author Benjamin Bentmann
26   */
27  public class AbstractExecutionListener
28      implements ExecutionListener
29  {
30  
31      public void projectDiscoveryStarted( ExecutionEvent event )
32      {
33          // default does nothing
34      }
35  
36      public void sessionStarted( ExecutionEvent event )
37      {
38          // default does nothing
39      }
40  
41      public void sessionEnded( ExecutionEvent event )
42      {
43          // default does nothing
44      }
45  
46      public void projectSkipped( ExecutionEvent event )
47      {
48          // default does nothing
49      }
50  
51      public void projectStarted( ExecutionEvent event )
52      {
53          // default does nothing
54      }
55  
56      public void projectSucceeded( ExecutionEvent event )
57      {
58          // default does nothing
59      }
60  
61      public void projectFailed( ExecutionEvent event )
62      {
63          // default does nothing
64      }
65  
66      public void forkStarted( ExecutionEvent event )
67      {
68          // default does nothing
69      }
70  
71      public void forkSucceeded( ExecutionEvent event )
72      {
73          // default does nothing
74      }
75  
76      public void forkFailed( ExecutionEvent event )
77      {
78          // default does nothing
79      }
80  
81      public void mojoSkipped( ExecutionEvent event )
82      {
83          // default does nothing
84      }
85  
86      public void mojoStarted( ExecutionEvent event )
87      {
88          // default does nothing
89      }
90  
91      public void mojoSucceeded( ExecutionEvent event )
92      {
93          // default does nothing
94      }
95  
96      public void mojoFailed( ExecutionEvent event )
97      {
98          // default does nothing
99      }
100 
101     public void forkedProjectStarted( ExecutionEvent event )
102     {
103         // default does nothing
104     }
105 
106     public void forkedProjectSucceeded( ExecutionEvent event )
107     {
108         // default does nothing
109     }
110 
111     public void forkedProjectFailed( ExecutionEvent event )
112     {
113         // default does nothing
114     }
115 
116 }