@NameWith(value=FileCredentials.NameProvider.class) public interface FileCredentials extends com.cloudbees.plugins.credentials.common.StandardCredentials
Modifier and Type | Interface and Description |
---|---|
static class |
FileCredentials.NameProvider |
Modifier and Type | Method and Description |
---|---|
InputStream |
getContent()
Obtains the actual content of the secret file as a bytestream.
|
String |
getFileName()
Indicates the intended naming of the secret content.
|
@Nonnull String getFileName()
private-keys.zip
or keystore
.@Nonnull InputStream getContent() throws IOException
IOException
- if the data cannot be loadedCopyright © 2004-2013. All Rights Reserved.