public class ObjectMenuFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
flags |
static int |
REQUIRES_AGENT |
static int |
REQUIRES_CUSTOM_ATTRIBUTE_MATCH |
static int |
REQUIRES_NODE_OS_MATCH |
static int |
REQUIRES_OID_MATCH |
static int |
REQUIRES_SNMP |
static int |
REQUIRES_TEMPLATE_MATCH |
static int |
REQUIRES_WORKSTATION_OS_MATCH |
String |
snmpOid |
String |
toolCustomAttributes |
String |
toolNodeOS |
String |
toolTemplate |
String |
toolWorkstationOS |
| Constructor and Description |
|---|
ObjectMenuFilter() |
| Modifier and Type | Method and Description |
|---|---|
static ObjectMenuFilter |
createFromXml(String xml)
Create ObjectToolFilter object from XML document
|
String |
createXml()
Create XML from configuration.
|
boolean |
isApplicableForNode(AbstractNode node)
Check if tool is applicable for given node.
|
void |
setFilter(String filterText,
int filterType) |
public String toolNodeOS
public String toolWorkstationOS
public String toolTemplate
public String toolCustomAttributes
public String snmpOid
public int flags
public static final int REQUIRES_SNMP
public static final int REQUIRES_AGENT
public static final int REQUIRES_OID_MATCH
public static final int REQUIRES_NODE_OS_MATCH
public static final int REQUIRES_TEMPLATE_MATCH
public static final int REQUIRES_WORKSTATION_OS_MATCH
public static final int REQUIRES_CUSTOM_ATTRIBUTE_MATCH
public static ObjectMenuFilter createFromXml(String xml) throws Exception
xml - XML documentException - if the object cannot be fully deserializedpublic String createXml() throws Exception
Exception - if the schema for the object is not validpublic boolean isApplicableForNode(AbstractNode node)
node - AbstractNode objectpublic void setFilter(String filterText, int filterType)
filterText - filterType - Copyright © 2017. All rights reserved.