T
- the type of object passed to votepublic class IfVoter<T> extends BaseVoterImpl<T>
Constructor and Description |
---|
IfVoter() |
Modifier and Type | Method and Description |
---|---|
Voter<T> |
getCondition() |
Voter<T> |
getOtherwise() |
Voter<T> |
getThen() |
void |
setCondition(Voter<T> condition) |
void |
setOtherwise(Voter<T> otherwise) |
void |
setThen(Voter<T> then) |
String |
toString() |
int |
vote(T value) |
getName, isEnabled, setEnabled, setName
public int vote(T value)
public String toString()
toString
in class BaseVoterImpl<T>
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.