com.atlassian.bamboo.repository
Class RepositoryDataEntityImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.repository.RepositoryDataEntityImpl
- All Implemented Interfaces:
- BambooIdProvider, BambooObject, Deletable, Describable, ImmutableDeletable, RepositoryDataEntity, DescriptionProvider, NameProvider, Cloneable
public class RepositoryDataEntityImpl
- extends BambooEntityObject
- implements RepositoryDataEntity
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
RepositoryDataEntityImpl
public RepositoryDataEntityImpl(String pluginKey,
String name,
String description,
String xmlData,
boolean markedForDeletion,
boolean global)
RepositoryDataEntityImpl
public RepositoryDataEntityImpl()
getPluginKey
@NotNull
public String getPluginKey()
- Specified by:
getPluginKey
in interface RepositoryDataEntity
setPluginKey
public void setPluginKey(@NotNull
String pluginKey)
- Specified by:
setPluginKey
in interface RepositoryDataEntity
getName
@NotNull
public String getName()
- Specified by:
getName
in interface DescriptionProvider
- Specified by:
getName
in interface NameProvider
setName
public void setName(@NotNull
String name)
- Specified by:
setName
in interface Describable
getDescription
public String getDescription()
- Specified by:
getDescription
in interface DescriptionProvider
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interface Describable
getXmlData
@NotNull
public String getXmlData()
- Specified by:
getXmlData
in interface RepositoryDataEntity
setXmlData
public void setXmlData(@NotNull
String xmlData)
- Specified by:
setXmlData
in interface RepositoryDataEntity
isMarkedForDeletion
public boolean isMarkedForDeletion()
- Specified by:
isMarkedForDeletion
in interface ImmutableDeletable
- Returns:
- Whether or not the Object has been marked for deletion
setMarkedForDeletion
public void setMarkedForDeletion(boolean markedForDeletion)
- Specified by:
setMarkedForDeletion
in interface Deletable
isGlobal
public boolean isGlobal()
- Specified by:
isGlobal
in interface RepositoryDataEntity
- Returns:
- true iff repository is a Global Repository (that is: can be shared among multiple plans)
setGlobal
public void setGlobal(boolean isGlobal)
- Specified by:
setGlobal
in interface RepositoryDataEntity
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.