@Component @Scope(value="prototype") public class MatchingIpInterfacePolicy extends BasePolicy<OnmsIpInterface> implements IpInterfacePolicy
| Modifier and Type | Class and Description |
|---|---|
static class |
MatchingIpInterfacePolicy.Action |
BasePolicy.Match| Constructor and Description |
|---|
MatchingIpInterfacePolicy() |
| Modifier and Type | Method and Description |
|---|---|
OnmsIpInterface |
act(OnmsIpInterface iface,
Map<String,Object> attributes)
act
|
String |
getAction()
getAction
|
String |
getHostName()
getHostName
|
String |
getIpAddress()
getIpAddress
|
void |
setAction(String action)
setAction
|
void |
setHostName(String hostName)
setHostName
|
void |
setIpAddress(String ipAddress)
setIpAddress
|
apply, getCriteria, getCriteria, getMatch, getMatchBehavior, match, matches, putCriteria, setMatch, setMatchBehaviorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplypublic OnmsIpInterface act(OnmsIpInterface iface, Map<String,Object> attributes)
act
act in class BasePolicy<OnmsIpInterface>iface - a T object.attributes - that can be set on script.public void setIpAddress(String ipAddress)
setIpAddress
ipAddress - a String object.public void setHostName(String hostName)
setHostName
hostName - a String object.Copyright © 2022. All rights reserved.