Class Template


  • public class Template
    extends GenericObject
    This class represents NetXMS TEMPLATE objects.
    • Constructor Detail

      • Template

        public Template​(org.netxms.base.NXCPMessage msg,
                        NXCSession session)
        Parameters:
        msg -
        session -
    • Method Detail

      • getVersion

        public int getVersion()
        Returns:
        template version
      • getVersionAsString

        public String getVersionAsString()
        Returns:
        template version as string in form
      • isAutoApplyEnabled

        public boolean isAutoApplyEnabled()
        Returns:
        true if automatic apply is enabled
      • isAutoRemoveEnabled

        public boolean isAutoRemoveEnabled()
        Returns:
        true if automatic removal is enabled
      • getAutoApplyFilter

        public String getAutoApplyFilter()
        Returns:
        Filter script for automatic apply
      • getFlags

        public int getFlags()
        Returns:
        the flags