@ThreadSafe public class DiagnosticsContainer extends com.cloudbees.jenkins.support.api.Container implements Serializable
Container
that will store all the DiagnosticsSession
and Diagnostic
related information.
When serialized to the configuration file it will store some basic information like the base folder, name, etc.
Thread safety is guaranteed to allow concurrent diagnostic runs to store information.Modifier and Type | Method and Description |
---|---|
void |
add(com.cloudbees.jenkins.support.api.Content content) |
void |
add(DiagnosticsContainer container)
Adds a nested container
|
String |
getFolderPath()
Gets the full path of the folder on disk
|
String |
getName()
Gets the name of the container
|
DiagnosticsContainer |
getParent()
Gets the parent
DiagnosticsContainer |
String |
getRelativeFolderPath()
Gets the relative path inside the container
|
protected Object |
readResolve() |
void |
setManifestDetails(String details)
Sets additional detail information to be included on the manifest file
|
protected Object readResolve()
public void add(@CheckForNull com.cloudbees.jenkins.support.api.Content content)
add
in class com.cloudbees.jenkins.support.api.Container
public void add(@CheckForNull DiagnosticsContainer container)
container
- the nested container@Nonnull public String getName()
@Nonnull public String getFolderPath()
@CheckForNull public String getRelativeFolderPath()
@CheckForNull public DiagnosticsContainer getParent()
DiagnosticsContainer
DiagnosticsContainer
Copyright © 2016–2017. All rights reserved.