info.magnolia.voting.voters
Class PropertyVoter
java.lang.Object
info.magnolia.voting.voters.BaseVoterImpl
info.magnolia.voting.voters.AbstractBoolVoter
info.magnolia.voting.voters.PropertyVoter
- All Implemented Interfaces:
- Voter
public class PropertyVoter
- extends AbstractBoolVoter
Checks if the named Magnolia property has the expected value.
Parameters (as Magnolia's configuration nodes):
- property: property name.
- value: expected value.
- Author:
- pbracher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropertyVoter
public PropertyVoter()
boolVote
protected boolean boolVote(java.lang.Object value)
- Specified by:
boolVote
in class AbstractBoolVoter
getProperty
public java.lang.String getProperty()
setProperty
public void setProperty(java.lang.String property)
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractBoolVoter
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.