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
PropertyVoter
public PropertyVoter()
boolVote
protected boolean boolVote(Object value)
- Specified by:
boolVote
in class AbstractBoolVoter
getProperty
public String getProperty()
setProperty
public void setProperty(String property)
getValue
public String getValue()
setValue
public void setValue(String value)
toString
public String toString()
- Overrides:
toString
in class AbstractBoolVoter
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.