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, java.lang.Cloneable
public class RepositoryDataEntityImpl
- extends BambooEntityObject
- implements RepositoryDataEntity
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
RepositoryDataEntityImpl
public RepositoryDataEntityImpl(java.lang.String pluginKey,
java.lang.String name,
java.lang.String description,
java.lang.String xmlData,
boolean markedForDeletion,
boolean global)
RepositoryDataEntityImpl
public RepositoryDataEntityImpl()
getPluginKey
@NotNull
public java.lang.String getPluginKey()
- Specified by:
getPluginKey
in interface RepositoryDataEntity
setPluginKey
public void setPluginKey(@NotNull
java.lang.String pluginKey)
- Specified by:
setPluginKey
in interface RepositoryDataEntity
getName
@NotNull
public java.lang.String getName()
- Specified by:
getName
in interface DescriptionProvider
- Specified by:
getName
in interface NameProvider
setName
public void setName(@NotNull
java.lang.String name)
- Specified by:
setName
in interface Describable
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface DescriptionProvider
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription
in interface Describable
getXmlData
@NotNull
public java.lang.String getXmlData()
- Specified by:
getXmlData
in interface RepositoryDataEntity
setXmlData
public void setXmlData(@NotNull
java.lang.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 © 2012 Atlassian. All Rights Reserved.