|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.Cause
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritCause
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritUserCause
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritManualCause
public class GerritManualCause
A Cause of a ManualPatchsetCreated
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class hudson.model.Cause |
---|
hudson.model.Cause.LegacyCodeCause, hudson.model.Cause.RemoteCause, hudson.model.Cause.UpstreamCause, hudson.model.Cause.UserCause |
Constructor Summary | |
---|---|
GerritManualCause()
Default constructor. |
|
GerritManualCause(ManualPatchsetCreated event,
boolean silentMode)
Standard constructor. |
|
GerritManualCause(ManualPatchsetCreated event,
boolean silentMode,
TriggerContext context)
Standard constructor. |
Method Summary | |
---|---|
protected java.lang.String |
getShortGerritDescription()
Gives the short description of the GerritCause. |
protected java.lang.String |
getShortGerritDescriptionSilentMode()
Gives the short description of the GerritCause in silent mode. |
java.lang.String |
getUserName()
The userName of the user who triggered the manual event. |
boolean |
isManuallyTriggered()
Is this cause of a manually triggered event. |
Methods inherited from class com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritCause |
---|
equals, getContext, getEvent, getShortDescription, getUrl, hashCode, isSilentMode, setContext, setEvent, setSilentMode, toString |
Methods inherited from class hudson.model.Cause |
---|
onAddedTo, print |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GerritManualCause()
public GerritManualCause(ManualPatchsetCreated event, boolean silentMode, TriggerContext context)
event
- the event.silentMode
- if silent mode.context
- the trigger context.GerritCause.GerritCause(com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.PatchsetCreated, boolean, com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.TriggerContext)
public GerritManualCause(ManualPatchsetCreated event, boolean silentMode)
event
- the event.silentMode
- if it is in silent mode.GerritCause.GerritCause(com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.PatchsetCreated, boolean)
Method Detail |
---|
public java.lang.String getUserName()
getUserName
in class GerritUserCause
public boolean isManuallyTriggered()
protected java.lang.String getShortGerritDescription()
GerritCause
getShortGerritDescription
in class GerritUserCause
GerritCause.getShortGerritDescriptionSilentMode()
,
GerritCause.getShortDescription()
protected java.lang.String getShortGerritDescriptionSilentMode()
GerritCause
getShortGerritDescriptionSilentMode
in class GerritUserCause
GerritCause.getShortGerritDescription()
,
GerritCause.getShortDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |