Class Checki5OSPrerequisitePTFAppliedRule

  • All Implemented Interfaces:
    Referenceable

    public final class Checki5OSPrerequisitePTFAppliedRule
    extends Rule
    System i (i5/OS) Program Temporary Fix (PTF) Condition This rule allows developers to determine if a PTF, matched by the Licensed Program Identifier, PTF ID, Release Level, and PTF Status, exists on the target i5/OS system. Any action to which this rule is assigned can be conditionally performed based on whether a matching PTF is found or not found on the i5/OS system.
    • Constructor Detail

      • Checki5OSPrerequisitePTFAppliedRule

        public Checki5OSPrerequisitePTFAppliedRule()
    • Method Detail

      • getApplyType

        public java.lang.String getApplyType()
        To get the apply type
      • setApplyType

        public void setApplyType​(java.lang.String s)
        To set the apply type
      • getProductID

        public java.lang.String getProductID()
        Get the program's product ID.
      • setProductID

        public void setProductID​(java.lang.String prodID)
        Set the program's product ID.
      • getPtfID

        public java.lang.String getPtfID()
        Get the PTF ID to be evalated.
      • setPtfID

        public void setPtfID​(java.lang.String ptfid)
        Set the PTF ID to be evalated.
      • getReleaseLevel

        public java.lang.String getReleaseLevel()
        To get the PTF's release level.
      • setReleaseLevel

        public void setReleaseLevel​(java.lang.String release)
        To set the PTF's release level
      • setTrueIfFileExistsOnTarget

        public void setTrueIfFileExistsOnTarget​(boolean _value)
        To set whether the rule shoudl return true if file existed on target.
      • getTrueIfFileExistsOnTarget

        public boolean getTrueIfFileExistsOnTarget()
        To get whether the rule shoudl return true if file existed on target.