org.netxms.client.packages
Class PackageInfo

java.lang.Object
  extended by org.netxms.client.packages.PackageInfo

public class PackageInfo
extends java.lang.Object

NetXMS package info


Constructor Summary
PackageInfo(java.io.File npiFile)
          Create package information from NPI file
PackageInfo(NXCPMessage msg)
          Create package information from NXCP message
 
Method Summary
 void fillMessage(NXCPMessage msg)
          Fill NXCP message with package information
 java.lang.String getDescription()
           
 java.lang.String getFileName()
           
 long getId()
           
 java.lang.String getName()
           
 java.lang.String getPlatform()
           
 java.lang.String getVersion()
           
 void setId(long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageInfo

public PackageInfo(java.io.File npiFile)
            throws java.io.IOException
Create package information from NPI file

Parameters:
npiFile -
Throws:
java.io.IOException

PackageInfo

public PackageInfo(NXCPMessage msg)
Create package information from NXCP message

Parameters:
msg -
Method Detail

fillMessage

public void fillMessage(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 java.lang.String getName()
Returns:
the name

getDescription

public java.lang.String getDescription()
Returns:
the description

getFileName

public java.lang.String getFileName()
Returns:
the fileName

getPlatform

public java.lang.String getPlatform()
Returns:
the platform

getVersion

public java.lang.String getVersion()
Returns:
the version


Copyright © 2012. All Rights Reserved.