Search in sources :

Example 1 with EventType

use of org.mamute.model.EventType in project mamute by caelum.

the class MassiveVoteRevertEvent method reputationEvent.

public ReputationEvent reputationEvent() {
    EventType massiveVoteReverted = EventType.MASSIVE_VOTE_REVERTED;
    massiveVoteReverted.setKarma(karma);
    return new ReputationEvent(massiveVoteReverted, null, target);
}
Also used : EventType(org.mamute.model.EventType) ReputationEvent(org.mamute.model.ReputationEvent)

Aggregations

EventType (org.mamute.model.EventType)1 ReputationEvent (org.mamute.model.ReputationEvent)1