Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.subsystems.qsys.comm
Class CheckPID

java.lang.Object
  extended by com.ibm.etools.iseries.subsystems.qsys.comm.CheckPID

public class CheckPID
extends Object


Field Summary
static String copyright
           
 
Constructor Summary
CheckPID(AS400 as400, String sPID)
          Constructor for the CheckPID class.
CheckPID(AS400 as400, String sPID, String sOption)
          Constructor for the CheckPID class.
 
Method Summary
 boolean check()
          Returns true if we can find this PID with base option on the AS/400.
 boolean check(boolean checkWithOption)
          Returns true if we can find this PID on the AS/400.
 String getFormattedOption()
          Returns the option as a formatted string.
 String getReleaseLevel()
          Returns the release level associated with this PID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

CheckPID

public CheckPID(AS400 as400,
                String sPID)
Constructor for the CheckPID class.


CheckPID

public CheckPID(AS400 as400,
                String sPID,
                String sOption)
Constructor for the CheckPID class.

Method Detail

getFormattedOption

public String getFormattedOption()
Returns the option as a formatted string.

Returns:
the option.

getReleaseLevel

public String getReleaseLevel()
Returns the release level associated with this PID. Can only be found after check is run.


check

public boolean check()
Returns true if we can find this PID with base option on the AS/400.


check

public boolean check(boolean checkWithOption)
Returns true if we can find this PID on the AS/400.

Parameters:
checkWithOption - true if we want to check with option, false for base.

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.