org.jenkinsci.plugins.androidsigning.impl
Class KeystoreCredentialsImpl

java.lang.Object
  extended by com.cloudbees.plugins.credentials.BaseCredentials
      extended by com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
          extended by org.jenkinsci.plugins.androidsigning.impl.KeystoreCredentialsImpl
All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials, com.cloudbees.plugins.credentials.common.StandardCredentials, com.cloudbees.plugins.credentials.Credentials, hudson.ExtensionPoint, hudson.model.Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable, KeystoreCredentials

public class KeystoreCredentialsImpl
extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
implements KeystoreCredentials

See Also:
Serialized Form

Nested Class Summary
static class KeystoreCredentialsImpl.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface org.jenkinsci.plugins.androidsigning.KeystoreCredentials
KeystoreCredentials.NameProvider
 
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
KeystoreCredentialsImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, org.apache.commons.fileupload.FileItem file, String fileName, String data, String passphrase)
           
 
Method Summary
 InputStream getContent()
           
 String getFileName()
           
 hudson.util.Secret getPassphrase()
           
 hudson.FilePath makeTempPath(hudson.FilePath path)
           
 
Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
equals, getDescription, getId, hashCode
 
Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScope
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
getDescription
 
Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
getId
 
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
getDescriptor, getScope
 

Constructor Detail

KeystoreCredentialsImpl

@DataBoundConstructor
public KeystoreCredentialsImpl(@CheckForNull
                                                    com.cloudbees.plugins.credentials.CredentialsScope scope,
                                                    @CheckForNull
                                                    String id,
                                                    @CheckForNull
                                                    String description,
                                                    @Nonnull
                                                    org.apache.commons.fileupload.FileItem file,
                                                    @CheckForNull
                                                    String fileName,
                                                    @CheckForNull
                                                    String data,
                                                    @CheckForNull
                                                    String passphrase)
                        throws IOException
Throws:
IOException
Method Detail

makeTempPath

public hudson.FilePath makeTempPath(hudson.FilePath path)
                             throws IOException,
                                    InterruptedException
Specified by:
makeTempPath in interface KeystoreCredentials
Throws:
IOException
InterruptedException

getFileName

public String getFileName()
Specified by:
getFileName in interface KeystoreCredentials

getContent

public InputStream getContent()
                       throws IOException
Specified by:
getContent in interface KeystoreCredentials
Throws:
IOException

getPassphrase

public hudson.util.Secret getPassphrase()
Specified by:
getPassphrase in interface KeystoreCredentials


Copyright © 2004-2014. All Rights Reserved.