Class DatadogTextApiKey
- java.lang.Object
-
- org.datadog.jenkins.plugins.datadog.configuration.api.key.DatadogApiKey
-
- org.datadog.jenkins.plugins.datadog.configuration.api.key.DatadogTextApiKey
-
- All Implemented Interfaces:
Describable<DatadogApiKey>
,Serializable
@Symbol("datadogTextApiKey") public class DatadogTextApiKey extends DatadogApiKey
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DatadogTextApiKey.DatadogTextApiKeyDescriptor
-
Nested classes/interfaces inherited from class org.datadog.jenkins.plugins.datadog.configuration.api.key.DatadogApiKey
DatadogApiKey.DatadogApiKeyDescriptor
-
-
Field Summary
Fields Modifier and Type Field Description static String
TARGET_API_KEY_PROPERTY
-
Constructor Summary
Constructors Constructor Description DatadogTextApiKey(Secret key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Descriptor<DatadogApiKey>
getDescriptor()
Secret
getKey()
int
hashCode()
protected Object
readResolve()
Invoked by XStream when this object is deserialized.-
Methods inherited from class org.datadog.jenkins.plugins.datadog.configuration.api.key.DatadogApiKey
validateApiConnection
-
-
-
-
Field Detail
-
TARGET_API_KEY_PROPERTY
public static final String TARGET_API_KEY_PROPERTY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DatadogTextApiKey
@DataBoundConstructor public DatadogTextApiKey(Secret key)
-
-
Method Detail
-
readResolve
protected Object readResolve()
Invoked by XStream when this object is deserialized. Ensures environment variables have higher priority than configuration persisted on disk
-
getKey
public Secret getKey()
- Specified by:
getKey
in classDatadogApiKey
-
getDescriptor
public Descriptor<DatadogApiKey> getDescriptor()
-
-