Package com.atlassian.bamboo.repository
Class LegacyRepositoryDataImpl
- java.lang.Object
-
- com.atlassian.bamboo.repository.LegacyRepositoryDataImpl
-
- All Implemented Interfaces:
BambooIdProvider
,ImmutableEntityWithOid
,PluginKeyProvider
,InternalRepositoryData
,RepositoryData
,DescriptionProvider
,NameProvider
,Serializable
- Direct Known Subclasses:
LegacyRepositoryDefinitionImpl
@Deprecated public class LegacyRepositoryDataImpl extends Object implements RepositoryData
Deprecated.since 5.14 useVcsRepositoryDataImpl
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LegacyRepositoryDataImpl(long id, String pluginKey, String name, String description, String xmlData, boolean markedForDeletion, boolean global)
Deprecated.LegacyRepositoryDataImpl(RepositoryDataEntity repositoryData)
Deprecated.LegacyRepositoryDataImpl(VcsRepositoryData repositoryData, RepositoryConfigurationReference configurationRef)
Deprecated.LegacyRepositoryDataImpl(VcsRepositoryData repositoryData, String legacyPluginKey, RepositoryConfigurationReference configurationRef)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
Deprecated.Returns true iff the objects represent the same repository@NotNull org.apache.commons.configuration.HierarchicalConfiguration
getConfiguration()
Deprecated.String
getDescription()
Deprecated.long
getId()
Deprecated.@NotNull String
getName()
Deprecated.Repository
getNewRepositoryInstance()
Deprecated.Get new instance of Repository that is not lazy-loaded.BambooEntityOid
getOid()
Deprecated.OID assigned to this object.@NotNull String
getPluginKey()
Deprecated.@NotNull Repository
getRepository()
Deprecated.@NotNull String
getWebRepositoryPluginKey()
Deprecated.@NotNull WebRepositoryViewer
getWebRepositoryViewer()
Deprecated.int
hashCode()
Deprecated.boolean
isGlobal()
Deprecated.boolean
isMarkedForDeletion()
Deprecated.protected Object
readResolve()
Deprecated.String
toString()
Deprecated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.repository.RepositoryData
getEntityType
-
-
-
-
Constructor Detail
-
LegacyRepositoryDataImpl
public LegacyRepositoryDataImpl(RepositoryDataEntity repositoryData)
Deprecated.- Parameters:
repositoryData
-
-
LegacyRepositoryDataImpl
public LegacyRepositoryDataImpl(VcsRepositoryData repositoryData, RepositoryConfigurationReference configurationRef)
Deprecated.
-
LegacyRepositoryDataImpl
public LegacyRepositoryDataImpl(VcsRepositoryData repositoryData, String legacyPluginKey, RepositoryConfigurationReference configurationRef)
Deprecated.
-
-
Method Detail
-
getOid
public BambooEntityOid getOid()
Deprecated.Description copied from interface:ImmutableEntityWithOid
OID assigned to this object. TheBambooEntityOid.getEntityType()
should be the same as this object'sImmutableEntityWithOid.getEntityType()
.- Specified by:
getOid
in interfaceImmutableEntityWithOid
-
getId
public long getId()
Deprecated.- Specified by:
getId
in interfaceBambooIdProvider
-
getPluginKey
@NotNull public @NotNull String getPluginKey()
Deprecated.- Specified by:
getPluginKey
in interfacePluginKeyProvider
- Returns:
- full plugin module key
-
getWebRepositoryPluginKey
@NotNull public @NotNull String getWebRepositoryPluginKey()
Deprecated.- Specified by:
getWebRepositoryPluginKey
in interfaceRepositoryData
-
getName
@NotNull public @NotNull String getName()
Deprecated.- Specified by:
getName
in interfaceDescriptionProvider
- Specified by:
getName
in interfaceNameProvider
-
getDescription
public String getDescription()
Deprecated.- Specified by:
getDescription
in interfaceDescriptionProvider
-
isMarkedForDeletion
public boolean isMarkedForDeletion()
Deprecated.- Specified by:
isMarkedForDeletion
in interfaceRepositoryData
-
getRepository
@NotNull public @NotNull Repository getRepository()
Deprecated.- Specified by:
getRepository
in interfaceRepositoryData
- Returns:
- lazily initialized instance of the
Repository
defined by this object.
-
getNewRepositoryInstance
public Repository getNewRepositoryInstance()
Deprecated.Description copied from interface:InternalRepositoryData
Get new instance of Repository that is not lazy-loaded. Each call creates a new instance. Use ofRepositoryData.getRepository()
should be preferred.- Specified by:
getNewRepositoryInstance
in interfaceInternalRepositoryData
- Returns:
-
getWebRepositoryViewer
@NotNull public @NotNull WebRepositoryViewer getWebRepositoryViewer()
Deprecated.- Specified by:
getWebRepositoryViewer
in interfaceRepositoryData
-
getConfiguration
@NotNull public @NotNull org.apache.commons.configuration.HierarchicalConfiguration getConfiguration()
Deprecated.- Specified by:
getConfiguration
in interfaceRepositoryData
- Returns:
- lazily initialized instance of the
HierarchicalConfiguration
of the repository defined by this object.
-
isGlobal
public boolean isGlobal()
Deprecated.- Specified by:
isGlobal
in interfaceRepositoryData
- Returns:
- true if repository is a Shared Repository
-
equals
public boolean equals(Object o)
Deprecated.Returns true iff the objects represent the same repository
-
readResolve
protected Object readResolve()
Deprecated.
-
-