Class GerritUserCause

  • Direct Known Subclasses:
    GerritManualCause

    public class GerritUserCause
    extends GerritCause
    Represents a Cause for a re-triggered/user-triggered Gerrit job.
    Author:
    Robert Sandell <robert.sandell@sonyericsson.com>
    • Constructor Detail

      • GerritUserCause

        public GerritUserCause()
        Default constructor. Do not use this unless you are a serializer.
      • GerritUserCause

        public GerritUserCause​(com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event,
                               boolean silentMode,
                               TriggerContext context)
        Standard Constructor.
        Parameters:
        event - the event.
        silentMode - if silentMode.
        context - the context.
      • GerritUserCause

        public GerritUserCause​(com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event,
                               boolean silentMode,
                               TriggerContext context,
                               String authenticationName)
        Standard Constructor.
        Parameters:
        event - the event.
        silentMode - if silentMode.
        context - the context.
        authenticationName - the username.
      • GerritUserCause

        public GerritUserCause​(com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event,
                               boolean silentMode,
                               String authenticationName)
        Standard Constructor.
        Parameters:
        event - the event.
        silentMode - if silentMode.
        authenticationName - the username.
      • GerritUserCause

        public GerritUserCause​(com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event,
                               boolean silentMode)
        Standard Constructor. Will take the userName from the current web-context.
        Parameters:
        event - the event.
        silentMode - if silentMode.