info.magnolia.voting
Interface Voting

All Known Implementing Classes:
AndVoting, DefaultVoting, OrVoting

public interface Voting

Contract for decision maker (i.e. class executing set of voters and providing combined output).

Version:
$Id: Voting.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
philipp

Nested Class Summary
static class Voting.Factory
          Deprecated. since 4.4, use one of the constants
 
Field Summary
static Voting AND
           
static Voting HIGHEST_LEVEL
           
static Voting OR
           
 
Method Summary
 int vote(Voter[] voters, Object value)
           
 

Field Detail

AND

static final Voting AND

OR

static final Voting OR

HIGHEST_LEVEL

static final Voting HIGHEST_LEVEL
Method Detail

vote

int vote(Voter[] voters,
         Object value)


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