org.opennms.netmgt.provision
Class BasePolicy<T>
java.lang.Object
org.opennms.netmgt.provision.BasePolicy<T>
public abstract class BasePolicy<T>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasePolicy
public BasePolicy()
match
protected boolean match(String s,
String matcher)
getMatchBehavior
public String getMatchBehavior()
setMatchBehavior
public void setMatchBehavior(String matchBehavior)
setMatch
protected void setMatch(BasePolicy.Match match)
- Parameters:
match - the match to set
getMatch
protected BasePolicy.Match getMatch()
- Returns:
- the match
getCriteria
protected String getCriteria(String key)
putCriteria
protected String putCriteria(String key,
String expression)
getCriteria
protected LinkedHashMap<String,String> getCriteria()
- Returns:
- the criteria
matches
protected boolean matches(T iface)
act
public abstract T act(T iface)
apply
public T apply(T iface)
debug
protected void debug(String format,
Object... args)
info
protected void info(String format,
Object... args)
Copyright © 2009. All Rights Reserved.