org.rundeck.api.parser
Class JobParser

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

public class JobParser
extends Object
implements XmlNodeParser<RundeckJob>

Parser for a single RundeckJob

Author:
Vincent Behar

Constructor Summary
JobParser()
           
JobParser(String xpath)
           
 
Method Summary
 RundeckJob 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

JobParser

public JobParser()

JobParser

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

parseXmlNode

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

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


Copyright © 2011. All Rights Reserved.