com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events
Class GerritTriggeredEvent

java.lang.Object
  extended by com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
      extended by com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.GerritTriggeredEvent
All Implemented Interfaces:
GerritEvent
Direct Known Subclasses:
ChangeBasedEvent, RefUpdated

public abstract class GerritTriggeredEvent
extends GerritEventLifecycle
implements GerritEvent

A DTO representation of a Gerrit triggered Event.

Author:
David Pursehouse <david.pursehouse@sonyericsson.com>

Field Summary
protected  Account account
          The account that triggered the event.
 
Constructor Summary
GerritTriggeredEvent()
           
 
Method Summary
 Account getAccount()
          The account that triggered the event.
 void setAccount(Account account)
          The account that triggered the change.
 
Methods inherited from class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
addListener, fireAllBuildsCompleted, fireBuildCompleted, fireBuildStarted, fireProjectTriggered, fireTriggerScanDone, fireTriggerScanStarting, getListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEvent
getEventType, isScorable
 

Field Detail

account

protected Account account
The account that triggered the event.

Constructor Detail

GerritTriggeredEvent

public GerritTriggeredEvent()
Method Detail

getAccount

public Account getAccount()
The account that triggered the event.

Returns:
the account.

setAccount

public void setAccount(Account account)
The account that triggered the change.

Parameters:
account - the account.


Copyright © 2004-2012 Hudson. All Rights Reserved.