public class UnanimousBasedVoter extends Object implements VotingAlgorithm
VotingStrategy.UNANIMOUS
strategy.Constructor and Description |
---|
UnanimousBasedVoter() |
Modifier and Type | Method and Description |
---|---|
AuthorizationResult |
vote(Iterable<AuthorizationResult> results)
It get a list of results as input and votes for a winning result.
|
public AuthorizationResult vote(Iterable<AuthorizationResult> results)
VotingAlgorithm
vote
in interface VotingAlgorithm
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.