org.opennms.netmgt.provision.persist.policies
Class MatchingSnmpInterfacePolicy

java.lang.Object
  extended by org.opennms.netmgt.provision.BasePolicy<OnmsSnmpInterface>
      extended by org.opennms.netmgt.provision.persist.policies.MatchingSnmpInterfacePolicy
All Implemented Interfaces:
OnmsPolicy, SnmpInterfacePolicy

@Component
@Scope(value="prototype")
public class MatchingSnmpInterfacePolicy
extends BasePolicy<OnmsSnmpInterface>
implements SnmpInterfacePolicy


Nested Class Summary
static class MatchingSnmpInterfacePolicy.Action
           
 
Nested classes/interfaces inherited from class org.opennms.netmgt.provision.BasePolicy
BasePolicy.Match
 
Constructor Summary
MatchingSnmpInterfacePolicy()
           
 
Method Summary
 OnmsSnmpInterface act(OnmsSnmpInterface iface)
           
 String getAction()
           
 String getIfAdminStatus()
           
 String getIfAlias()
           
 String getIfDescr()
           
 String getIfIndex()
           
 String getIfName()
           
 String getIfOperStatus()
           
 String getIfSpeed()
           
 String getIfType()
           
 String getIpAddress()
           
 String getNetmask()
           
 String getPhysAddr()
           
 void setAction(String action)
           
 void setIfAdminStatus(String ifAdminStatus)
           
 void setIfAlias(String ifAlias)
           
 void setIfDescr(String ifDescr)
           
 void setIfIndex(String ifIndex)
           
 void setIfName(String ifName)
           
 void setIfOperStatus(String ifOperStatus)
           
 void setIfSpeed(String ifSpeed)
           
 void setIfType(String ifType)
           
 void setIpAddress(String ipAddress)
           
 void setNetmask(String netmask)
           
 void setPhysAddr(String physAddr)
           
 
Methods inherited from class org.opennms.netmgt.provision.BasePolicy
apply, debug, getCriteria, getCriteria, getMatch, getMatchBehavior, info, match, matches, putCriteria, setMatch, setMatchBehavior
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opennms.netmgt.provision.SnmpInterfacePolicy
apply
 

Constructor Detail

MatchingSnmpInterfacePolicy

public MatchingSnmpInterfacePolicy()
Method Detail

getAction

public String getAction()

setAction

public void setAction(String action)

act

public OnmsSnmpInterface act(OnmsSnmpInterface iface)
Specified by:
act in class BasePolicy<OnmsSnmpInterface>

getIfDescr

public String getIfDescr()

setIfDescr

public void setIfDescr(String ifDescr)

getIfName

public String getIfName()

setIfName

public void setIfName(String ifName)

getIfType

public String getIfType()

setIfType

public void setIfType(String ifType)

getIpAddress

public String getIpAddress()

setIpAddress

public void setIpAddress(String ipAddress)

getNetmask

public String getNetmask()

setNetmask

public void setNetmask(String netmask)

getPhysAddr

public String getPhysAddr()

setPhysAddr

public void setPhysAddr(String physAddr)

getIfIndex

public String getIfIndex()

setIfIndex

public void setIfIndex(String ifIndex)

getIfSpeed

public String getIfSpeed()

setIfSpeed

public void setIfSpeed(String ifSpeed)

getIfAdminStatus

public String getIfAdminStatus()

setIfAdminStatus

public void setIfAdminStatus(String ifAdminStatus)

getIfOperStatus

public String getIfOperStatus()

setIfOperStatus

public void setIfOperStatus(String ifOperStatus)

getIfAlias

public String getIfAlias()

setIfAlias

public void setIfAlias(String ifAlias)


Copyright © 2009. All Rights Reserved.