com.atlassian.bamboo.repository
Class RepositoryDataEntityImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by 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


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
RepositoryDataEntityImpl()
           
RepositoryDataEntityImpl(java.lang.String pluginKey, java.lang.String name, java.lang.String description, java.lang.String xmlData, boolean markedForDeletion, boolean global)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getPluginKey()
           
 java.lang.String getXmlData()
           
 boolean isGlobal()
           
 boolean isMarkedForDeletion()
           
 void setDescription(java.lang.String description)
           
 void setGlobal(boolean isGlobal)
           
 void setMarkedForDeletion(boolean markedForDeletion)
           
 void setName(java.lang.String name)
           
 void setPluginKey(java.lang.String pluginKey)
           
 void setXmlData(java.lang.String xmlData)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
equals, getId, hashCode, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Constructor Detail

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()
Method Detail

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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.