Class AutoLockThresholdNotReachedEvent

java.lang.Object
com.xebialabs.xlrelease.domain.events.AutoLockThresholdNotReachedEvent
All Implemented Interfaces:
AccountEvents, XLReleaseEvent, Serializable, scala.Equals, scala.Product

public class AutoLockThresholdNotReachedEvent extends Object implements AccountEvents, scala.Product, Serializable
Event published when auto-lock threshold not yet reached param: user The account still locked param: failedCount Current failed attempt count param: minutesRemaining Minutes until automatic unlock
See Also:
  • Constructor Details

    • AutoLockThresholdNotReachedEvent

      public AutoLockThresholdNotReachedEvent(int failedCount, long minutesRemaining)
  • Method Details

    • apply

      public static AutoLockThresholdNotReachedEvent apply(int failedCount, long minutesRemaining)
    • unapply

      public static scala.Option<scala.Tuple2<Object,Object>> unapply(AutoLockThresholdNotReachedEvent x$0)
    • user

      public String user()
      Specified by:
      user in interface AccountEvents
    • user_$eq

      public void user_$eq(String x$1)
      Specified by:
      user_$eq in interface AccountEvents
    • username

      public String username()
      Specified by:
      username in interface XLReleaseEvent
    • username_$eq

      public void username_$eq(String x$1)
      Specified by:
      username_$eq in interface XLReleaseEvent
    • timestamp

      public Date timestamp()
      Specified by:
      timestamp in interface XLReleaseEvent
    • failedCount

      public int failedCount()
    • minutesRemaining

      public long minutesRemaining()
    • copy

      public AutoLockThresholdNotReachedEvent copy(int failedCount, long minutesRemaining)
    • copy$default$1

      public int copy$default$1()
    • copy$default$2

      public long copy$default$2()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object