public class XmlUtils extends Object
| Constructor and Description |
|---|
XmlUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<Element> |
getChildrenElements(Element element,
String childElementName) |
static List<Element> |
getExecutionEvents(Element mavenSpyLogs,
String expectedType) |
static List<Element> |
getExecutionEvents(Element mavenSpyLogs,
String pluginGroupId,
String pluginArtifactId,
String pluginGoal) |
static String |
getPathInWorkspace(String absoluteFilePath,
hudson.FilePath workspace) |
static String |
getProjectBuildDirectory(Element projectElt) |
static Element |
getUniqueChildElement(Element element,
String childElementName) |
static Element |
getUniqueChildElementOrNull(Element element,
String childElementName) |
static MavenSpyLogProcessor.MavenArtifact |
newMavenArtifact(Element artifactElt) |
static MavenSpyLogProcessor.PluginInvocation |
newPluginInvocation(Element pluginInvocationElt) |
static String |
toString(Node node) |
public static MavenSpyLogProcessor.MavenArtifact newMavenArtifact(Element artifactElt)
public static MavenSpyLogProcessor.PluginInvocation newPluginInvocation(Element pluginInvocationElt)
@Nonnull public static Element getUniqueChildElement(@Nonnull Element element, @Nonnull String childElementName)
@Nullable public static Element getUniqueChildElementOrNull(@Nonnull Element element, @Nonnull String childElementName)
@Nonnull public static List<Element> getChildrenElements(@Nonnull Element element, @Nonnull String childElementName)
@Nonnull public static List<Element> getExecutionEvents(@Nonnull Element mavenSpyLogs, String expectedType)
@Nonnull public static List<Element> getExecutionEvents(@Nonnull Element mavenSpyLogs, String pluginGroupId, String pluginArtifactId, String pluginGoal)
@Nonnull public static String getPathInWorkspace(@Nonnull String absoluteFilePath, @Nonnull hudson.FilePath workspace)
Copyright © 2016–2017. All rights reserved.