public class UserIdentificationImpl extends UserIdentification
ASC_ORDER, DESC_ORDER, SORT_BY_CONNECTION, SORT_BY_HOST, SORT_BY_LASTSUBMIT, SORT_BY_NAME, SORT_BY_SUBMIT, toRemove
Constructor and Description |
---|
UserIdentificationImpl() |
UserIdentificationImpl(String username,
Set<String> groups,
int submitNumber,
String hostName,
long connectionTime,
long lastSubmitTime,
boolean myEventsOnly) |
Modifier and Type | Method and Description |
---|---|
long |
getConnectionTime()
Get the time of the connection of this user.
|
Set<String> |
getGroups()
To get the groups associated with this user name
|
String |
getHostName()
Get the host name of this user.
|
long |
getLastSubmitTime()
Get the last time this user has submit a job.
|
TimerTask |
getSession()
Get the session for this user (timer task)
|
int |
getSubmitNumber()
Get the number of submit for this user.
|
String |
getUsername()
To get the user name
|
boolean |
isMyEventsOnly()
Get the myEventsOnly.
|
void |
setConnectionTime(long connectionTime) |
void |
setGroups(Set<String> groups) |
void |
setHostName(String hostName) |
void |
setLastSubmitTime(long lastSubmitTime) |
void |
setMyEventsOnly(boolean myEventsOnly) |
void |
setSubmitNumber(int submitNumber) |
void |
setUsername(String username) |
compareTo, isToRemove, setSortingBy, setSortingOrder
public String getUsername()
UserIdentification
getUsername
in class UserIdentification
public Set<String> getGroups()
UserIdentification
getGroups
in class UserIdentification
public int getSubmitNumber()
UserIdentification
getSubmitNumber
in class UserIdentification
public String getHostName()
UserIdentification
getHostName
in class UserIdentification
public long getConnectionTime()
UserIdentification
getConnectionTime
in class UserIdentification
public long getLastSubmitTime()
UserIdentification
getLastSubmitTime
in class UserIdentification
public boolean isMyEventsOnly()
UserIdentification
isMyEventsOnly
in class UserIdentification
public TimerTask getSession()
UserIdentification
getSession
in class UserIdentification
public void setUsername(String username)
public void setSubmitNumber(int submitNumber)
public void setHostName(String hostName)
public void setConnectionTime(long connectionTime)
public void setLastSubmitTime(long lastSubmitTime)
public void setMyEventsOnly(boolean myEventsOnly)