org.rundeck.api.parser
Class EventParser

java.lang.Object
  extended by org.rundeck.api.parser.EventParser
All Implemented Interfaces:
XmlNodeParser<RundeckEvent>

public class EventParser
extends Object
implements XmlNodeParser<RundeckEvent>

Parser for a single RundeckEvent

Author:
Vincent Behar

Constructor Summary
EventParser()
           
EventParser(String xpath)
           
 
Method Summary
 RundeckEvent parseXmlNode(org.dom4j.Node node)
          Parse the given XML Node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventParser

public EventParser()

EventParser

public EventParser(String xpath)
Parameters:
xpath - of the event element if it is not the root node
Method Detail

parseXmlNode

public RundeckEvent parseXmlNode(org.dom4j.Node node)
Description copied from interface: XmlNodeParser
Parse the given XML Node

Specified by:
parseXmlNode in interface XmlNodeParser<RundeckEvent>
Returns:
any object holding the converted value


Copyright © 2011. All Rights Reserved.