com.ibm.retail.si.mgmt.swdist
Class DeviceTypeSWDistPolicy
java.lang.Object
|
+--com.ibm.retail.si.mgmt.swdist.DeviceTypeSWDistPolicy
- All Implemented Interfaces:
- java.io.Serializable
- public class DeviceTypeSWDistPolicy
- extends java.lang.Object
- implements java.io.Serializable
Holds policy information for a software distribution based on device type
- Version:
- 1.0
- Author:
- Chris D Arrington
- See Also:
- Serialized Form
Constructor Summary |
protected |
DeviceTypeSWDistPolicy(int deviceType,
com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage,
boolean isInstall)
|
protected |
DeviceTypeSWDistPolicy(int deviceType,
com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage,
boolean isInstall,
int intervalPercentage)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DeviceTypeSWDistPolicy
protected DeviceTypeSWDistPolicy(int deviceType,
com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage,
boolean isInstall)
DeviceTypeSWDistPolicy
protected DeviceTypeSWDistPolicy(int deviceType,
com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage,
boolean isInstall,
int intervalPercentage)
- Parameters:
deviceType
- int Device type on which this policy appliesswPackage
- MgmtSftPackage Target software packageisInstall
- boolean True if the distribution is an install, false if a removalintervalPercentage
- int Percentage interval for status notifications to set on each distribution
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Determines equality based on install/remove, device type, and the
target MgmtSftPackage
- Overrides:
equals
in class java.lang.Object
getDeviceType
public int getDeviceType()
- Returns:
- int Device type for this policy
isInstall
public boolean isInstall()
- Returns:
- boolean True if this is policy is for an install, false for an uninstall
getIntervalPercentage
public int getIntervalPercentage()
- Returns:
- int Interval percentage for status notifications. Setting this to 0 disables status notifications
getSwPackage
public com.ibm.retail.si.mgmt.swdist.MgmtSftPackage getSwPackage()
- Returns:
- MgmtSftPackage Target software package for removal/installation
setDeviceType
public void setDeviceType(int i)
- Parameters:
i
- - See Also:
setDeviceType(int)
setInstall
public void setInstall(boolean b)
- Parameters:
b
- - See Also:
setInstall(boolean)
setIntervalPercentage
public void setIntervalPercentage(int i)
- Parameters:
i
- - See Also:
setIntervalPercentage(int)
setSwPackage
public void setSwPackage(com.ibm.retail.si.mgmt.swdist.MgmtSftPackage package1)
- Parameters:
package1
- - See Also:
setSwPackage(MgmtSftPackage)
Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004