Interface CustomXMLApi
-
public interface CustomXMLApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<XmlResult>
createMemoryDump(String systemProfile, String agentName, String hostName, int processId, String dumpType, boolean sessionLocked, boolean captureStrings, boolean capturePrimitives, boolean autoPostProcess, boolean doGC)
retrofit2.Call<XmlResult>
createThreadDump(String systemProfile, String agentName, String hostName, int processId, boolean sessionLocked)
retrofit2.Call<AgentList>
getAllAgents()
retrofit2.Call<XmlResult>
getMemoryDumpStatus(String profileName, String memoryDumpName)
retrofit2.Call<okhttp3.ResponseBody>
getPDFReport(String dashboard, String sessionId, String comparedSessionId, String type)
retrofit2.Call<LicenseInformation>
getServerLicense()
retrofit2.Call<XmlResult>
getThreadDumpStatus(String profileName, String threadDumpName)
retrofit2.Call<de.tsystems.mms.apm.performancesignature.dynatrace.model.DashboardReport>
getXMLDashboard(String dashboard, String source)
retrofit2.Call<XmlResult>
hotSensorPlacement(int agentId)
retrofit2.Call<DashboardList>
listDashboards()
-
-
-
Method Detail
-
listDashboards
@Headers("Accept: text/xml") @GET("rest/management/dashboards") retrofit2.Call<DashboardList> listDashboards()
-
getXMLDashboard
@Headers("Accept: text/xml") @GET("rest/management/dashboard/{dashboardId}") retrofit2.Call<de.tsystems.mms.apm.performancesignature.dynatrace.model.DashboardReport> getXMLDashboard(@Path("dashboardId") String dashboard, @Query("source") String source)
-
getServerLicense
@GET("rest/management/server/license") retrofit2.Call<LicenseInformation> getServerLicense()
-
getAllAgents
@Headers("Accept: text/xml") @GET("rest/management/agents") retrofit2.Call<AgentList> getAllAgents()
-
hotSensorPlacement
@Headers("Accept: text/xml") @GET("rest/management/agents/{agentId}/hotsensorplacement") retrofit2.Call<XmlResult> hotSensorPlacement(@Path("agentId") int agentId)
-
createMemoryDump
@Headers("Accept: text/xml") @FormUrlEncoded @POST("rest/management/profiles/{systemProfile}/memorydump") retrofit2.Call<XmlResult> createMemoryDump(@Path("systemProfile") String systemProfile, @Field("agentName") String agentName, @Field("hostName") String hostName, @Field("processId") int processId, @Field("type") String dumpType, @Field("isSessionLocked") boolean sessionLocked, @Field("capturestrings") boolean captureStrings, @Field("captureprimitives") boolean capturePrimitives, @Field("autopostprocess") boolean autoPostProcess, @Field("dogc") boolean doGC)
-
getMemoryDumpStatus
@Headers("Accept: text/xml") @GET("rest/management/profiles/{systemProfile}/memorydumpcreated/{memorydumpId}") retrofit2.Call<XmlResult> getMemoryDumpStatus(@Path("systemProfile") String profileName, @Path(value="memorydumpId",encoded=true) String memoryDumpName)
-
createThreadDump
@Headers("Accept: text/xml") @FormUrlEncoded @POST("rest/management/profiles/{systemProfile}/threaddump") retrofit2.Call<XmlResult> createThreadDump(@Path("systemProfile") String systemProfile, @Field("agentName") String agentName, @Field("hostName") String hostName, @Field("processId") int processId, @Field("isSessionLocked") boolean sessionLocked)
-
getThreadDumpStatus
@Headers("Accept: text/xml") @GET("rest/management/profiles/{systemProfile}/threaddumpcreated/{threaddumpId}") retrofit2.Call<XmlResult> getThreadDumpStatus(@Path("systemProfile") String profileName, @Path(value="threaddumpId",encoded=true) String threadDumpName)
-
getPDFReport
@Headers("Accept: application/octet-stream") @GET("rest/management/reports/create/{dashboardId}") retrofit2.Call<okhttp3.ResponseBody> getPDFReport(@Path("dashboardId") String dashboard, @Query("source") String sessionId, @Query("compare") String comparedSessionId, @Query("type") String type)
-
-