com.atlassian.jira.rest.client.domain
Class LoginInfo

java.lang.Object
  extended by com.atlassian.jira.rest.client.domain.LoginInfo

public class LoginInfo
extends Object

Statistics about logins (successful and failed logins number and last date) for the current user

Since:
v0.1

Constructor Summary
LoginInfo(int failedLoginCount, int loginCount, org.joda.time.DateTime lastFailedLoginDate, org.joda.time.DateTime previousLoginDate)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getFailedLoginCount()
           
 org.joda.time.DateTime getLastFailedLoginDate()
           
 int getLoginCount()
           
 org.joda.time.DateTime getPreviousLoginDate()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginInfo

public LoginInfo(int failedLoginCount,
                 int loginCount,
                 @Nullable
                 org.joda.time.DateTime lastFailedLoginDate,
                 @Nullable
                 org.joda.time.DateTime previousLoginDate)
Method Detail

getFailedLoginCount

public int getFailedLoginCount()

getLoginCount

public int getLoginCount()

getLastFailedLoginDate

@Nullable
public org.joda.time.DateTime getLastFailedLoginDate()

getPreviousLoginDate

@Nullable
public org.joda.time.DateTime getPreviousLoginDate()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.