Class KeyMaterial
java.lang.Object
org.jenkinsci.plugins.docker.commons.credentials.KeyMaterial
- All Implemented Interfaces:
- Closeable,- Serializable,- AutoCloseable
Deprecated.
Represents a locally extracted credentials information.
 
 Implementations of this class are created by their corresponding KeyMaterialFactory
 implementations. Be sure to call close() when finished using a KeyMaterial
 instance.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final KeyMaterialDeprecated.KeyMaterialthat does nothing.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidclose()Deprecated.Deletes the key materials from the file system.env()Deprecated.Get the environment variables needed to be passed when docker runs, to accessDockerServerCredentialsthat this object was created from.
- 
Field Details- 
NULLDeprecated.KeyMaterialthat does nothing.
 
- 
- 
Constructor Details- 
KeyMaterialDeprecated.
 
- 
- 
Method Details- 
envDeprecated.Get the environment variables needed to be passed when docker runs, to accessDockerServerCredentialsthat this object was created from.
- 
closeDeprecated.Deletes the key materials from the file system. As key materials are copied into files every timeKeyMaterialFactoryis created, it must be also cleaned up each time.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 
- 
KeyMaterial2