Class SessionRequest
- java.lang.Object
-
- io.testproject.sdk.internal.rest.messages.SessionRequest
-
public class SessionRequest extends java.lang.ObjectPayload object sent to the Agent to start a development session.
-
-
Constructor Summary
Constructors Constructor Description SessionRequest(ReportSettings reportSettings, java.util.Map<java.lang.String,java.lang.Object> capabilities)Creates a new instance using provided capabilities.SessionRequest(java.lang.String jobName)Creates a new instance with a specified job name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getCapabilities()Getter forcapabilitiesfield.java.lang.StringgetJobName()Getter forprojectNamefield.java.lang.StringgetLanguage()Getter forlanguagefield.java.lang.StringgetProjectName()Getter forprojectNamefield.ReportTypegetReportType()Getter forreportTypefield.java.lang.StringgetSdkVersion()Getter forsdkVersionfield.
-
-
-
Constructor Detail
-
SessionRequest
public SessionRequest(ReportSettings reportSettings, java.util.Map<java.lang.String,java.lang.Object> capabilities)
Creates a new instance using provided capabilities.- Parameters:
reportSettings- Report settings with Project and Job names to reportcapabilities- capabilities that should be sent to the Agent for driver initialization
-
SessionRequest
public SessionRequest(java.lang.String jobName)
Creates a new instance with a specified job name.- Parameters:
jobName- of the session request.
-
-
Method Detail
-
getCapabilities
public java.util.Map<java.lang.String,java.lang.Object> getCapabilities()
Getter forcapabilitiesfield.- Returns:
- value of
capabilitiesfield
-
getSdkVersion
public java.lang.String getSdkVersion()
Getter forsdkVersionfield.- Returns:
- value of
sdkVersionfield
-
getLanguage
public java.lang.String getLanguage()
Getter forlanguagefield.- Returns:
- value of
languagefield
-
getProjectName
public java.lang.String getProjectName()
Getter forprojectNamefield.- Returns:
- value of
projectNamefield
-
getJobName
public java.lang.String getJobName()
Getter forprojectNamefield.- Returns:
- value of
projectNamefield
-
getReportType
public ReportType getReportType()
Getter forreportTypefield.- Returns:
- value of
reportTypefield
-
-