Package org.apache.maven.internal.impl
Class DefaultEvent
java.lang.Object
org.apache.maven.internal.impl.DefaultEvent
- All Implemented Interfaces:
- Event
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the exception that caused the event (if any).Gets the current mojo execution (if any).Gets the current project (if any).Gets the session from which this event originates.getType()Gets the type of the event.
- 
Constructor Details- 
DefaultEvent
 
- 
- 
Method Details- 
getTypeDescription copied from interface:EventGets the type of the event.
- 
getSessionDescription copied from interface:EventGets the session from which this event originates.- Specified by:
- getSessionin interface- Event
- Returns:
- the current session, never null
 
- 
getProjectDescription copied from interface:EventGets the current project (if any).- Specified by:
- getProjectin interface- Event
- Returns:
- the current project or empty()if not applicable
 
- 
getMojoExecutionDescription copied from interface:EventGets the current mojo execution (if any).- Specified by:
- getMojoExecutionin interface- Event
- Returns:
- the current mojo execution or empty()if not applicable
 
- 
getExceptionDescription copied from interface:EventGets the exception that caused the event (if any).- Specified by:
- getExceptionin interface- Event
- Returns:
- the exception or empty()if none
 
 
-