public interface IMavenMarkerManager
Modifier and Type | Method and Description |
---|---|
void |
addErrorMarker(org.eclipse.core.resources.IResource resource,
String type,
MavenProblemInfo problem) |
void |
addErrorMarkers(org.eclipse.core.resources.IResource resource,
String type,
Exception ex)
Transform an exception into an error marker on an IResource.
|
void |
addErrorMarkers(org.eclipse.core.resources.IResource resource,
String type,
List<MavenProblemInfo> problems) |
void |
addErrorMarkers(org.eclipse.core.resources.IResource resource,
String type,
Throwable ex)
Transform an exception into an error marker on an IResource
|
org.eclipse.core.resources.IMarker |
addMarker(org.eclipse.core.resources.IResource resource,
String type,
String message,
int lineNumber,
int severity)
Add a Maven marker to a resource
|
void |
addMarkers(org.eclipse.core.resources.IResource pomFile,
String type,
org.apache.maven.execution.MavenExecutionResult result)
Add markers to a pom file from a MavenExecutionResult.
|
void |
deleteMarkers(org.eclipse.core.resources.IResource resource,
boolean includeSubtypes,
String type)
Delete all Maven markers of the specified type from an IResource
|
void |
deleteMarkers(org.eclipse.core.resources.IResource resource,
String type)
Delete all Maven markers of the specified type (including subtypes) from an IResource
|
void |
deleteMarkers(org.eclipse.core.resources.IResource resource,
String type,
String attrName,
String attrValue)
Delete all Maven markers that have the specified type and attribute from an IResource
|
void addMarkers(org.eclipse.core.resources.IResource pomFile, String type, org.apache.maven.execution.MavenExecutionResult result)
pomFile
- the pom file to attach markers to.result
- containing messages to be addedd as markersorg.eclipse.core.resources.IMarker addMarker(org.eclipse.core.resources.IResource resource, String type, String message, int lineNumber, int severity)
resource
- : the IResource to attach the marker to.message
- : the marker's message.lineNumber
- : the resource line to attach the marker to.severity
- : the severity of the marker.void deleteMarkers(org.eclipse.core.resources.IResource resource, String type) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
void deleteMarkers(org.eclipse.core.resources.IResource resource, boolean includeSubtypes, String type) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
void deleteMarkers(org.eclipse.core.resources.IResource resource, String type, String attrName, String attrValue) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
void addErrorMarkers(org.eclipse.core.resources.IResource resource, String type, Throwable ex)
void addErrorMarkers(org.eclipse.core.resources.IResource resource, String type, Exception ex)
void addErrorMarkers(org.eclipse.core.resources.IResource resource, String type, List<MavenProblemInfo> problems) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
void addErrorMarker(org.eclipse.core.resources.IResource resource, String type, MavenProblemInfo problem)
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.