info.magnolia.voting
Interface Voter<T>

Type Parameters:
T - the type of object passed to vote
All Known Subinterfaces:
Subscription
All Known Implementing Classes:
AbstractBoolVoter, AuthenticatedVoter, BasePatternVoter, BaseVoterImpl, DelegateVoter, DomainNameRegexVoter, DontDispatchOnForwardAttributeVoter, ExtensionVoter, FalseVoter, ForwardVoter, IfVoter, InverseVoter, NotVoter, OnAdminVoter, PropertyVoter, RequestHasParametersVoter, ResponseContentTypeVoter, TrueVoter, URIPatternVoter, URIRegexVoter, URIStartsWithVoter, UserAgentVoter, VoterSet

public interface Voter<T>

Contract for decision making rules based on the voting.


Method Summary
 boolean isEnabled()
           
 int vote(T value)
           
 

Method Detail

vote

int vote(T value)

isEnabled

boolean isEnabled()


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