@Internal @Entity public class CredentialsDataEntity extends BambooEntityWithOid implements MutableCredentialsData
Modifier and Type | Field and Description |
---|---|
protected String |
name |
oid
Constructor and Description |
---|
CredentialsDataEntity() |
CredentialsDataEntity(@NotNull CredentialsData other) |
CredentialsDataEntity(String pluginKey,
String name,
Map<String,String> configuration,
@Nullable BambooEntityOid oid,
@Nullable Long projectId) |
CredentialsDataEntity(String pluginKey,
String name,
String xml) |
CredentialsDataEntity(String pluginKey,
String name,
String xml,
@Nullable BambooEntityOid oid,
@Nullable Long projectId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
@NotNull Map<String,String> |
getConfiguration() |
String |
getName() |
String |
getPluginKey() |
@Nullable Long |
getProjectId() |
@NotNull String |
getXml()
Serialized
configuration of this credentials object. |
int |
hashCode() |
void |
setName(String name) |
void |
setPluginKey(String pluginKey) |
void |
setProjectId(Long projectId) |
void |
setXml(@NotNull 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 @Nullable BambooEntityOid oid, @Nullable @Nullable Long projectId)
public CredentialsDataEntity(String pluginKey, String name, String xml, @Nullable @Nullable BambooEntityOid oid, @Nullable @Nullable Long projectId)
public CredentialsDataEntity(@NotNull @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 @NotNull String getXml()
MutableCredentialsData
configuration
of this credentials object.getXml
in interface MutableCredentialsData
public void setXml(@NotNull @NotNull String xml)
setXml
in interface MutableCredentialsData
@NotNull public @NotNull Map<String,String> getConfiguration()
getConfiguration
in interface CredentialsData
@Nullable public @Nullable Long getProjectId()
getProjectId
in interface CredentialsData
Project
or null if it is a global shared credentialpublic void setProjectId(Long projectId)
setProjectId
in interface MutableCredentialsData
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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.