@Internal @Entity public class CredentialsDataEntity extends BambooEntityWithOid implements MutableCredentialsData
Modifier and Type | Field and Description |
---|---|
protected String |
name |
oid
Constructor and Description |
---|
CredentialsDataEntity() |
CredentialsDataEntity(CredentialsData other) |
CredentialsDataEntity(String pluginKey,
String name,
Map<String,String> configuration,
BambooEntityOid oid) |
CredentialsDataEntity(String pluginKey,
String name,
String xml) |
CredentialsDataEntity(String pluginKey,
String name,
String xml,
BambooEntityOid oid) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Map<String,String> |
getConfiguration() |
String |
getName() |
String |
getPluginKey() |
String |
getXml()
Serialized
configuration of this credentials object. |
int |
hashCode() |
void |
setName(String name) |
void |
setPluginKey(String pluginKey) |
void |
setXml(String xml) |
String |
toString() |
getOid, setOid
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
setId
getEntityType
getId
setOid
getOid
protected String name
public CredentialsDataEntity()
public CredentialsDataEntity(String pluginKey, String name, Map<String,String> configuration, @Nullable BambooEntityOid oid)
public CredentialsDataEntity(String pluginKey, String name, String xml, @Nullable BambooEntityOid oid)
public CredentialsDataEntity(@NotNull CredentialsData other)
public String getPluginKey()
getPluginKey
in interface CredentialsData
getPluginKey
in interface PluginKeyProvider
public void setPluginKey(String pluginKey)
setPluginKey
in interface MutableCredentialsData
public String getName()
getName
in interface CredentialsData
public void setName(String name)
setName
in interface MutableCredentialsData
@NotNull public String getXml()
MutableCredentialsData
configuration
of this credentials object.getXml
in interface MutableCredentialsData
public void setXml(@NotNull String xml)
setXml
in interface MutableCredentialsData
@NotNull public Map<String,String> getConfiguration()
getConfiguration
in interface CredentialsData
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public boolean equals(Object obj)
equals
in class com.atlassian.core.bean.EntityObject
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.