Class HttpExportConfig
java.lang.Object
io.jenkins.plugins.dorametrics.export.ExportStorageConfig
io.jenkins.plugins.dorametrics.export.HttpExportConfig
- All Implemented Interfaces:
Describable<ExportStorageConfig>
HTTP endpoint export configuration and upload.
Sends JSON snapshots to any HTTP endpoint via POST.
Supports Bearer token (StringCredentials) and Basic auth (UsernamePassword).
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUrl()voidsetCredentialsId(String credentialsId) voidvoidUpload data to the configured storage backend.Methods inherited from class io.jenkins.plugins.dorametrics.export.ExportStorageConfig
getDescriptor
-
Constructor Details
-
HttpExportConfig
@DataBoundConstructor public HttpExportConfig()
-
-
Method Details
-
getStorageType
- Specified by:
getStorageTypein classExportStorageConfig
-
getUrl
-
setUrl
-
getCredentialsId
- Specified by:
getCredentialsIdin classExportStorageConfig
-
setCredentialsId
-
upload
Description copied from class:ExportStorageConfigUpload data to the configured storage backend. Each implementation handles its own credential resolution and upload protocol.- Specified by:
uploadin classExportStorageConfig- Throws:
IOExceptionInterruptedException
-