public class SasSession extends AbstractIdentifiable
Modifier and Type | Class and Description |
---|---|
static class |
SasSession.SessionState
Session state enumeration which describes the state of the SAS session.
|
static class |
SasSession.SessionType
Session type enumeration which describes the source that started the session.
|
Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_TYPE |
Constructor and Description |
---|
SasSession(String identifier)
Initializing constructor.
|
SasSession(String identifier,
Date started,
Date ended,
SasSession.SessionType type,
SasSession.SessionState state,
String userId,
String submissionLabel,
int clientId)
Initializing constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getClientId()
Get the incremental number assigned to a SAS session
|
Date |
getDateEnded()
Get the date this SAS session was ended
|
Date |
getDateStarted()
Get the date this SAS session was started
|
SasSession.SessionState |
getState()
Get the state of the SAS session
|
String |
getSubmissionLabel()
Get the label describing what is executing in the SAS session
|
SasSession.SessionType |
getType()
Get the type of the SAS session
|
String |
getUserId()
Get the userId of who created the SAS session
|
String |
toString() |
equals, getIdentifier, getObjectType, hashCode, setIdentifier, setObjectType
public static final String OBJECT_TYPE
public SasSession(String identifier, Date started, Date ended, SasSession.SessionType type, SasSession.SessionState state, String userId, String submissionLabel, int clientId)
identifier
- the unique identifier of this SAS sessionstarted
- the date this SAS session was startedended
- the date this SAS session was endedtype
- the type of the SAS sessionstate
- the state of the SAS sessionuserId
- the userId of who created the SAS sessionsubmissionLabel
- the label describing what is executing in the SAS sessionclientId
- the incremental number assigned to a SAS sessionpublic SasSession(String identifier)
identifier
- the unique identifier of this SAS sessionpublic Date getDateStarted()
public Date getDateEnded()
public String getUserId()
public String getSubmissionLabel()
public SasSession.SessionType getType()
public SasSession.SessionState getState()
public int getClientId()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA