Package org.netxms.client.packages
Class PackageInfo
- java.lang.Object
-
- org.netxms.client.packages.PackageInfo
-
public class PackageInfo extends Object
NetXMS package info
-
-
Constructor Summary
Constructors Constructor Description PackageInfo(File npiFile)Create package information from NPI filePackageInfo(org.netxms.base.NXCPMessage msg)Create package information from NXCP message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillMessage(org.netxms.base.NXCPMessage msg)Fill NXCP message with package informationStringgetDescription()StringgetFileName()longgetId()StringgetName()StringgetPlatform()StringgetVersion()voidsetId(long id)
-
-
-
Constructor Detail
-
PackageInfo
public PackageInfo(File npiFile) throws IOException
Create package information from NPI file- Parameters:
npiFile-- Throws:
IOException
-
PackageInfo
public PackageInfo(org.netxms.base.NXCPMessage msg)
Create package information from NXCP message- Parameters:
msg-
-
-
Method Detail
-
fillMessage
public void fillMessage(org.netxms.base.NXCPMessage msg)
Fill NXCP message with package information- Parameters:
msg- NXCP message
-
setId
public void setId(long id)
- Parameters:
id- the id to set
-
getId
public long getId()
- Returns:
- the id
-
getName
public String getName()
- Returns:
- the name
-
getDescription
public String getDescription()
- Returns:
- the description
-
getFileName
public String getFileName()
- Returns:
- the fileName
-
getPlatform
public String getPlatform()
- Returns:
- the platform
-
getVersion
public String getVersion()
- Returns:
- the version
-
-