Package com.redwood.scheduler.api.os
Interface OSUserSession
- 
 public interface OSUserSessionA single item that is the result of a ListOSUserSessions.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEndpoint()Get the endpoint.LonggetFirstJobId()Get the jobId that started the session.LonggetJobId()Get the jobId that was running in the session at the time of creating the result set.DateTimeZonegetLogoffTime()Get the time when the session will be automatically logged off.DateTimeZonegetLogonTime()Get the logon time when the session was created.LonggetSessionId()Get the Session ID.StringgetUsername()Get the user that is running in this session.
 
- 
- 
- 
Method Detail- 
getUsernameString getUsername() Get the user that is running in this session.- Returns:
- the username.
 
 - 
getEndpointString getEndpoint() Get the endpoint. Usually a domain.- Returns:
- the endpoint.
 
 - 
getSessionIdLong getSessionId() Get the Session ID.- Returns:
- the session ID.
 
 - 
getLogonTimeDateTimeZone getLogonTime() Get the logon time when the session was created.- Returns:
- the logon time.
 
 - 
getLogoffTimeDateTimeZone getLogoffTime() Get the time when the session will be automatically logged off.- Returns:
- the time when the session will be logged off.
 
 - 
getFirstJobIdLong getFirstJobId() Get the jobId that started the session. Will be null if the session was not created by a job on this agent.- Returns:
- job ID.
 
 - 
getJobIdLong getJobId() Get the jobId that was running in the session at the time of creating the result set. Will be null if the session was not running any job, or if a job finished whilst another job was still running in it.- Returns:
- job ID.
 
 
- 
 
-