@Entity public class RepositoryDataEntityImpl extends BambooEntityWithOid implements RepositoryDataEntity
oid
NAME_MAX_LENGTH
Constructor and Description |
---|
RepositoryDataEntityImpl() |
RepositoryDataEntityImpl(RepositoryDataEntity source) |
RepositoryDataEntityImpl(String pluginKey,
String name,
String description,
String xmlData,
boolean markedForDeletion,
boolean global,
RepositoryDataEntity parent,
Long projectId) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getName() |
RepositoryDataEntity |
getParent() |
String |
getPluginKey() |
Long |
getProjectId() |
String |
getXmlData()
Combined data in xml format.
|
boolean |
isGlobal() |
boolean |
isMarkedForDeletion() |
void |
setDescription(String description) |
void |
setGlobal(boolean isGlobal) |
void |
setMarkedForDeletion(boolean markedForDeletion) |
void |
setName(String name) |
void |
setParent(RepositoryDataEntity parent) |
void |
setPluginKey(String pluginKey) |
void |
setProjectId(Long projectId) |
void |
setXmlData(String xmlData) |
getOid, setOid
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getEntityType
setOid
getOid
setId
getId
public RepositoryDataEntityImpl(String pluginKey, String name, String description, String xmlData, boolean markedForDeletion, boolean global, RepositoryDataEntity parent, Long projectId)
public RepositoryDataEntityImpl(RepositoryDataEntity source)
public RepositoryDataEntityImpl()
@NotNull public String getPluginKey()
getPluginKey
in interface PluginKeyProvider
public void setPluginKey(@NotNull String pluginKey)
setPluginKey
in interface RepositoryDataEntity
@NotNull public String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
public void setName(@NotNull String name)
setName
in interface Describable
public String getDescription()
getDescription
in interface DescriptionProvider
public void setDescription(String description)
setDescription
in interface Describable
@NotNull public String getXmlData()
RepositoryDataEntity
getXmlData
in interface RepositoryDataEntity
public void setXmlData(@NotNull String xmlData)
setXmlData
in interface RepositoryDataEntity
public boolean isMarkedForDeletion()
isMarkedForDeletion
in interface ImmutableDeletable
public void setMarkedForDeletion(boolean markedForDeletion)
setMarkedForDeletion
in interface Deletable
public boolean isGlobal()
isGlobal
in interface RepositoryDataEntity
public void setGlobal(boolean isGlobal)
setGlobal
in interface RepositoryDataEntity
@Nullable public RepositoryDataEntity getParent()
getParent
in interface RepositoryDataEntity
public void setParent(@Nullable RepositoryDataEntity parent)
setParent
in interface RepositoryDataEntity
@Nullable public Long getProjectId()
getProjectId
in interface ProjectIdProvider
getProjectId
in interface RepositoryDataEntity
Project
or null if the repository is globalpublic void setProjectId(Long projectId)
setProjectId
in interface RepositoryDataEntity
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.