Class BaremetalCloudCredentialsImpl
- java.lang.Object
-
- com.cloudbees.plugins.credentials.BaseCredentials
-
- com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
-
- com.oracle.cloud.baremetal.jenkins.credentials.BaremetalCloudCredentialsImpl
-
- All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials
,com.cloudbees.plugins.credentials.common.StandardCredentials
,com.cloudbees.plugins.credentials.Credentials
,BaremetalCloudCredentials
,ExtensionPoint
,Describable<com.cloudbees.plugins.credentials.Credentials>
,Serializable
public final class BaremetalCloudCredentialsImpl extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements BaremetalCloudCredentials
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BaremetalCloudCredentialsImpl.DescriptorImpl
-
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description BaremetalCloudCredentialsImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String fingerprint, String apikey, String passphrase, String tenantId, String userId, String regionId, boolean instancePrincipals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApikey()
protected String
getEncryptedValue(String str)
String
getFingerprint()
String
getPassphrase()
protected String
getPlainText(String str)
String
getRegionId()
String
getTenantId()
String
getUserId()
boolean
isInstancePrincipals()
-
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
-
-
-
-
Constructor Detail
-
BaremetalCloudCredentialsImpl
@DataBoundConstructor public BaremetalCloudCredentialsImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String fingerprint, String apikey, String passphrase, String tenantId, String userId, String regionId, boolean instancePrincipals)
-
-
Method Detail
-
getFingerprint
public String getFingerprint()
- Specified by:
getFingerprint
in interfaceBaremetalCloudCredentials
-
getApikey
public String getApikey()
- Specified by:
getApikey
in interfaceBaremetalCloudCredentials
-
getPassphrase
public String getPassphrase()
- Specified by:
getPassphrase
in interfaceBaremetalCloudCredentials
-
getTenantId
public String getTenantId()
- Specified by:
getTenantId
in interfaceBaremetalCloudCredentials
-
getUserId
public String getUserId()
- Specified by:
getUserId
in interfaceBaremetalCloudCredentials
-
getRegionId
public String getRegionId()
- Specified by:
getRegionId
in interfaceBaremetalCloudCredentials
-
isInstancePrincipals
public boolean isInstancePrincipals()
- Specified by:
isInstancePrincipals
in interfaceBaremetalCloudCredentials
-
-