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 39880 2010-11-28 19:59:52Z pbaerfuss $
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, java.lang.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,
         java.lang.Object value)


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