Package testingbot
Class TestingBotCredentials
java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
testingbot.TestingBotCredentials
- All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials
,com.cloudbees.plugins.credentials.common.StandardCredentials
,com.cloudbees.plugins.credentials.Credentials
,ExtensionPoint
,Describable<com.cloudbees.plugins.credentials.Credentials>
,Serializable
@NameWith(NameProvider.class) public class TestingBotCredentials extends com.cloudbees.plugins.credentials.BaseCredentials implements com.cloudbees.plugins.credentials.common.StandardCredentials
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestingBotCredentials.DescriptorImpl
static class
TestingBotCredentials.NameProvider
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors Constructor Description TestingBotCredentials(String id, String description, String key, String secret)
-
Method Summary
Modifier and Type Method Description static List<TestingBotCredentials>
availableCredentials(AbstractItem abstractItem)
boolean
equals(Object o)
static TestingBotCredentials
getCredentials(AbstractItem buildItem, String credentialsId)
String
getDecryptedSecret()
String
getDescription()
String
getId()
String
getKey()
Secret
getSecret()
int
hashCode()
boolean
hasKey()
boolean
hasSecret()
static void
migrate()
static FormValidation
testAuthentication(String key, String secret)
Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScope
-
Constructor Details
-
Method Details
-
getKey
-
hasKey
public boolean hasKey() -
getSecret
-
getDecryptedSecret
-
hasSecret
public boolean hasSecret() -
getDescription
- Specified by:
getDescription
in interfacecom.cloudbees.plugins.credentials.common.StandardCredentials
-
getId
- Specified by:
getId
in interfacecom.cloudbees.plugins.credentials.common.IdCredentials
-
equals
-
hashCode
public final int hashCode() -
testAuthentication
-
migrate
- Throws:
IOException
-
getCredentials
-
availableCredentials
-