info.magnolia.dam.util
Class RegexVoter
java.lang.Object
info.magnolia.voting.voters.BaseVoterImpl
info.magnolia.voting.voters.AbstractBoolVoter
info.magnolia.dam.util.RegexVoter
- All Implemented Interfaces:
- info.magnolia.voting.Voter
public class RegexVoter
- extends info.magnolia.voting.voters.AbstractBoolVoter
RegexVoter following the Voter
pattern.
Methods inherited from class info.magnolia.voting.voters.AbstractBoolVoter |
getFalseValue, getLevel, getTrueValue, isNot, setFalseValue, setLevel, setNot, vote |
Methods inherited from class info.magnolia.voting.voters.BaseVoterImpl |
getName, isEnabled, setEnabled, setName |
RegexVoter
public RegexVoter()
init
public void init()
setTrueValue
public void setTrueValue(int positiveVoteValue)
- Overrides:
setTrueValue
in class info.magnolia.voting.voters.AbstractBoolVoter
getPattern
public String getPattern()
setPattern
public void setPattern(String pattern)
isInverse
public boolean isInverse()
setInverse
public void setInverse(boolean inverse)
toString
public String toString()
- Overrides:
toString
in class info.magnolia.voting.voters.AbstractBoolVoter
boolVote
protected boolean boolVote(Object value)
- Specified by:
boolVote
in class info.magnolia.voting.voters.AbstractBoolVoter
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.