|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.retail.si.mgmt.swdist.DeviceDistributionRecord
Holds information about the installation/uninstallation of a package on a particular device
Constructor Summary | |
---|---|
protected |
DeviceDistributionRecord(java.lang.String deviceSystemId,
int deviceType,
com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage,
boolean isInstall)
|
protected |
DeviceDistributionRecord(java.lang.String deviceSystemId,
int deviceType,
com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage,
boolean isInstall,
boolean completed,
int intervalPercentage,
int rc)
Constructs a new record |
protected |
DeviceDistributionRecord(java.lang.String deviceSystemId,
int deviceType,
com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage,
boolean isInstall,
int intervalPercentage)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Determines equality based on deviceType, install/uninstall, device system Id, and the target MgmtSftPackage |
int |
getBusyCount()
|
java.lang.String |
getDeviceSystemId()
|
int |
getDeviceType()
|
int |
getFailedConnectionCount()
|
int |
getIntervalPercentage()
|
int |
getRc()
|
com.ibm.retail.si.mgmt.swdist.MgmtSftPackage |
getSwPackage()
|
void |
incBusyCount()
Increments the busy count |
void |
incFailedConnectionCount()
Increments the failed connection count |
boolean |
isCompleted()
|
boolean |
isInstall()
|
void |
resetBusyCount()
Resets the busy count |
void |
resetFailedConnectionCount()
Resets the failed connection count |
void |
setCompleted(boolean b)
|
void |
setDeviceSystemId(java.lang.String string)
|
void |
setDeviceType(int integer)
|
void |
setInstall(boolean b)
|
void |
setIntervalPercentage(int i)
|
void |
setRc(int i)
|
void |
setSwPackage(com.ibm.retail.si.mgmt.swdist.MgmtSftPackage package1)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected DeviceDistributionRecord(java.lang.String deviceSystemId, int deviceType, com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage, boolean isInstall)
protected DeviceDistributionRecord(java.lang.String deviceSystemId, int deviceType, com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage, boolean isInstall, int intervalPercentage)
protected DeviceDistributionRecord(java.lang.String deviceSystemId, int deviceType, com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage, boolean isInstall, boolean completed, int intervalPercentage, int rc)
deviceSystemId
- System ID of the target devicedeviceType
- Device type of target deviceswPackage
- Package to installisInstall
- True if this is an install, false if an uninstallcompleted
- Whether or not this distribution has completedintervalPercentage
- Percentage interval for sending notifications. 0 disables themrc
- Return code from the last request.Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
,
MgmtSftPackage.equals(Object)
public boolean isCompleted()
public java.lang.String getDeviceSystemId()
public int getDeviceType()
public int getIntervalPercentage()
public boolean isInstall()
public int getRc()
public com.ibm.retail.si.mgmt.swdist.MgmtSftPackage getSwPackage()
public void setCompleted(boolean b)
b
- isCompleted()
public void setDeviceSystemId(java.lang.String string)
string
- getDeviceSystemId()
public void setDeviceType(int integer)
integer
- getDeviceType()
public void setIntervalPercentage(int i)
i
- getIntervalPercentage()
public void setInstall(boolean b)
b
- isInstall()
public void setRc(int i)
i
- getRc()
public void setSwPackage(com.ibm.retail.si.mgmt.swdist.MgmtSftPackage package1)
package1
- getSwPackage()
public int getBusyCount()
public int getFailedConnectionCount()
public void incBusyCount()
public void incFailedConnectionCount()
public void resetBusyCount()
public void resetFailedConnectionCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |