public class PTFGroup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
PTF_GROUP_STATUS_APPLY_AT_NEXT_IPL
Constant indicating the PTF group will be applied at next IPL.
|
static int |
PTF_GROUP_STATUS_ERROR
Constant indicating the PTF group information is in error.
|
static int |
PTF_GROUP_STATUS_INSTALLED
Constant indicating the PTF group is installed.
|
static int |
PTF_GROUP_STATUS_NOT_APPLICABLE
Constant indicating the PTF group status is "not applicable".
|
static int |
PTF_GROUP_STATUS_NOT_FOUND
Constant indicating the PTF group is not found on the system.
|
static int |
PTF_GROUP_STATUS_NOT_INSTALLED
Constant indicating the PTF group is not installed.
|
static int |
PTF_GROUP_STATUS_ON_ORDER
Constant indicating the PTF group is on order.
|
static int |
PTF_GROUP_STATUS_RELATED_GROUP
Constant indicating the PTF group is a related group.
|
static int |
PTF_GROUP_STATUS_SUPPORTED_ONLY
Constant indicating the PTF group status is "supported only".
|
static int |
PTF_GROUP_STATUS_UNKNOWN
Constant indicating the PTF group status is unknown.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areRelatedPTFGroupsIncluded()
Indicates if information from all related PTF groups are included when the list of
PTFs or related PTF groups are returned.
|
java.lang.String |
getPTFGroupDescription()
Returns the description for the PTF group.
|
int |
getPTFGroupLevel()
Returns the PTF group level.
|
java.lang.String |
getPTFGroupName()
Returns the PTF group name.
|
int |
getPTFGroupStatus()
Indicates the overall status of the PTF group on this system.
|
PTF[] |
getPTFs() |
PTFGroup[] |
getRelatedPTFGroups()
Returns a list of related PTF groups.
|
AS400 |
getSystem()
Returns the system.
|
java.lang.String |
getTargetRelease() |
void |
includeRelatedPTFGroups(boolean value)
Specifies whether information from all related PTF groups should be included when the list of
PTFs or related PTF groups are returned.
|
public static final int PTF_GROUP_STATUS_UNKNOWN
public static final int PTF_GROUP_STATUS_NOT_APPLICABLE
public static final int PTF_GROUP_STATUS_SUPPORTED_ONLY
public static final int PTF_GROUP_STATUS_NOT_INSTALLED
public static final int PTF_GROUP_STATUS_INSTALLED
public static final int PTF_GROUP_STATUS_ERROR
public static final int PTF_GROUP_STATUS_NOT_FOUND
public static final int PTF_GROUP_STATUS_APPLY_AT_NEXT_IPL
public static final int PTF_GROUP_STATUS_RELATED_GROUP
PTF_GROUP_STATUS_UNKNOWN
.public static final int PTF_GROUP_STATUS_ON_ORDER
public AS400 getSystem()
public PTFGroup[] getRelatedPTFGroups() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400Exception
- If an error occurs.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist.public java.lang.String getPTFGroupDescription() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400Exception
- If an error occurs.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist.public java.lang.String getPTFGroupName() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400Exception
- If an error occurs.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist.public int getPTFGroupLevel() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400Exception
- If an error occurs.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist.public int getPTFGroupStatus() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400Exception
- If an error occurs.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist.public java.lang.String getTargetRelease()
public void includeRelatedPTFGroups(boolean value)
value
- true if information from all related PTF groups should be included, false otherwise.public boolean areRelatedPTFGroupsIncluded()
public PTF[] getPTFs() throws AS400Exception, AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
AS400Exception
AS400SecurityException
ErrorCompletingRequestException
java.lang.InterruptedException
java.io.IOException
ObjectDoesNotExistException