org.gridbus.broker.xpml
Class RequirementProcessor

java.lang.Object
  extended by org.gridbus.broker.xpml.RequirementProcessor

public class RequirementProcessor
extends java.lang.Object

Author:
krishna This class has methods to process a "nodeRequirements" xml element, and create a Node/Job nodeRequirements object.

Constructor Summary
RequirementProcessor(org.dom4j.Element fragmentElement)
           
 
Method Summary
 java.util.Vector extractRequirement()
           
 java.util.Vector processJobReq()
          Added by tcma to handle the job requirement, it returns a vector of strings with the format "key&&value"
 java.util.Vector processNodeReq()
          Added by tcma, to treat the node requirement separately with the job req
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequirementProcessor

public RequirementProcessor(org.dom4j.Element fragmentElement)
Parameters:
fragmentElement -
Method Detail

extractRequirement

public java.util.Vector extractRequirement()
Returns:

processJobReq

public java.util.Vector processJobReq()
Added by tcma to handle the job requirement, it returns a vector of strings with the format "key&&value"

Returns:

processNodeReq

public java.util.Vector processNodeReq()
Added by tcma, to treat the node requirement separately with the job req

Returns: