public interface NodeLabel
| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFAULT_SELECT_METHOD
Default primary interface select method. 
 | 
static int | 
MAX_NODE_LABEL_LENGTH
Maximum length for node label 
 | 
static String | 
PROP_PRIMARY_INTERFACE_SELECT_METHOD
The property string in the properties file which specifies the method to
 use for determining which interface is primary on a multi-interface box. 
 | 
static String | 
SELECT_METHOD_MAX
Primary interface selection method MAX. 
 | 
static String | 
SELECT_METHOD_MIN
Primary interface selection method MIN. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
assignLabel(int nodeID,
           NodeLabel nodeLabel)  | 
NodeLabel | 
computeLabel(int nodeID)  | 
String | 
getLabel()  | 
OnmsNode.NodeLabelSource | 
getSource()  | 
NodeLabel | 
retrieveLabel(int nodeID)  | 
String | 
toString()  | 
static final String PROP_PRIMARY_INTERFACE_SELECT_METHOD
static final int MAX_NODE_LABEL_LENGTH
static final String SELECT_METHOD_MIN
static final String SELECT_METHOD_MAX
static final String DEFAULT_SELECT_METHOD
String getLabel()
OnmsNode.NodeLabelSource getSource()
NodeLabel retrieveLabel(int nodeID) throws SQLException
SQLExceptionvoid assignLabel(int nodeID,
                 NodeLabel nodeLabel)
          throws SQLException
SQLExceptionNodeLabel computeLabel(int nodeID) throws SQLException
SQLExceptionCopyright © 2020. All rights reserved.