com.ibm.ibmi.are.xml.rules.ptf
Class PtfRule

java.lang.Object
  extended by com.ibm.are.xml.rules.Rule
      extended by com.ibm.ibmi.are.xml.rules.ptf.PtfRule
Direct Known Subclasses:
GroupPtfLevelRule, GroupPtfStatusRule, SinglePtfStatusRule

public abstract class PtfRule
extends Rule

Abstract base class for all PTF verification rules

Author:
IBM

Field Summary
static java.lang.String COPYRIGHT
          Copyright for class bytecode
 
Fields inherited from class com.ibm.are.xml.rules.Rule
MAP_ITEM_CHECK_CLASS, MAP_ITEM_CHECK_OBJECT, MAP_ITEM_CHECK_TYPE, MAP_ITEM_ERROR_LEVEL, MAP_ITEM_EXPECTED_VALUE, MAP_ITEM_MATCH_CASE
 
Method Summary
static com.ibm.as400.access.PTFGroup findPtfGroup(com.ibm.are.plugin.Plugin plugin, java.lang.String groupName)
          Finds and returns an IBM Toolbox for Java PTFGroup object that models the specified PTF group on the IBM i system.
 java.lang.String getPtfName()
          Retrieves the PTF name (number)
 void setPtfName(java.lang.String ptfName)
          Sets the PTF name (number)
 
Methods inherited from class com.ibm.are.xml.rules.Rule
getNodeInfo, report, report, run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright for class bytecode

See Also:
Constant Field Values
Method Detail

getPtfName

public java.lang.String getPtfName()
Retrieves the PTF name (number)

Returns:
The PTF name (number)

setPtfName

public void setPtfName(java.lang.String ptfName)
Sets the PTF name (number)

Parameters:
ptfName - The new PTF name (number)

findPtfGroup

public static com.ibm.as400.access.PTFGroup findPtfGroup(com.ibm.are.plugin.Plugin plugin,
                                                         java.lang.String groupName)
Finds and returns an IBM Toolbox for Java PTFGroup object that models the specified PTF group on the IBM i system.

Parameters:
plugin - The plugin that is running
groupName - The PTF group number
Returns:
An IBM Toolbox for Java PTFGroup object that models the specified PTF group on the IBM i system.