public class KeychainPasswordAndPathImpl extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements KeychainPasswordAndPath
| Modifier and Type | Class and Description |
|---|---|
static class |
KeychainPasswordAndPathImpl.DescriptorImpl |
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptorKeychainPasswordAndPath.NameProvidercom.cloudbees.plugins.credentials.common.IdCredentials.HelpersExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
KeychainPasswordAndPathImpl(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String keychainPath,
String password,
String inSearchPath)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static List<KeychainPasswordAndPathImpl> |
getAllKeycainInfo() |
String |
getInSearchPath()
Add keychain to search path.
|
String |
getKeychainPath()
macOS Keychain path.
|
Secret |
getPassword() |
boolean |
isInSearchPath()
Add keyc hain to search path.
|
void |
setInSearchPath(String inSearchPath) |
void |
setKeychainPath(String keychainPath) |
void |
setPassword(Secret password) |
equals, getDescription, getId, hashCodegetDescriptor, getScopeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait@DataBoundConstructor
public KeychainPasswordAndPathImpl(@CheckForNull
com.cloudbees.plugins.credentials.CredentialsScope scope,
@CheckForNull
String id,
@CheckForNull
String description,
@CheckForNull
String keychainPath,
@CheckForNull
String password,
@CheckForNull
String inSearchPath)
scope - the credentials scopeid - the ID or null to generate a new one.description - the description.keychainPath - the Keychain path.password - the password.inSearchPath - flag for keychain in search path.public Secret getPassword()
getPassword in interface KeychainPasswordAndPathgetPassword in interface com.cloudbees.plugins.credentials.common.PasswordCredentials@DataBoundSetter public void setPassword(Secret password)
@NonNull public String getKeychainPath()
getKeychainPath in interface KeychainPasswordAndPath@DataBoundSetter public void setKeychainPath(String keychainPath)
public String getInSearchPath()
getInSearchPath in interface KeychainPasswordAndPath@DataBoundSetter public void setInSearchPath(String inSearchPath)
public boolean isInSearchPath()
isInSearchPath in interface KeychainPasswordAndPathpublic static List<KeychainPasswordAndPathImpl> getAllKeycainInfo()
Copyright © 2016–2022. All rights reserved.