info.magnolia.voting.voters
Class DelegateVoter<T>

java.lang.Object
  extended by info.magnolia.voting.voters.BaseVoterImpl<T>
      extended by info.magnolia.voting.voters.AbstractBoolVoter<T>
          extended by info.magnolia.voting.voters.DelegateVoter<T>
Type Parameters:
T - the type of object passed to vote
All Implemented Interfaces:
Voter<T>

public class DelegateVoter<T>
extends AbstractBoolVoter<T>

Check a magnolia system delegatePath.


Constructor Summary
DelegateVoter()
           
 
Method Summary
protected  boolean boolVote(T value)
           
 String getDelegatePath()
           
 void setDelegatePath(String delegatePath)
           
 
Methods inherited from class info.magnolia.voting.voters.AbstractBoolVoter
getFalseValue, getLevel, getTrueValue, isNot, setFalseValue, setLevel, setNot, setTrueValue, toString, vote
 
Methods inherited from class info.magnolia.voting.voters.BaseVoterImpl
getName, isEnabled, setEnabled, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DelegateVoter

public DelegateVoter()
Method Detail

boolVote

protected boolean boolVote(T value)
Specified by:
boolVote in class AbstractBoolVoter<T>

getDelegatePath

public String getDelegatePath()

setDelegatePath

public void setDelegatePath(String delegatePath)


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.