com.atlassian.bamboo.repository
Class RepositoryDefinitionImpl

java.lang.Object
  extended by com.atlassian.bamboo.repository.RepositoryDataImpl
      extended by com.atlassian.bamboo.repository.RepositoryDefinitionImpl
All Implemented Interfaces:
BambooIdProvider, RepositoryData, RepositoryDefinition, DescriptionProvider, NameProvider, java.io.Serializable
Direct Known Subclasses:
DecoratedRepositoryDefinition

public class RepositoryDefinitionImpl
extends RepositoryDataImpl
implements RepositoryDefinition

See Also:
Serialized Form

Constructor Summary
RepositoryDefinitionImpl(long id, java.lang.String pluginKey, java.lang.String name, int position, java.lang.String description, java.lang.String xmlData, boolean buildTrigger, boolean markedForDeletion, boolean global)
           
RepositoryDefinitionImpl(PlanRepositoryLink input)
           
RepositoryDefinitionImpl(RepositoryDefinition repositoryDefinition)
           
 
Method Summary
 int getPosition()
          Position of repository in the list of repositories defined for Plan.
 boolean isBuildTrigger()
          Marks repositories used as build trigger as opposed to only being sources for changesets
 
Methods inherited from class com.atlassian.bamboo.repository.RepositoryDataImpl
equals, getConfiguration, getDescription, getId, getName, getPluginKey, getRepository, getWebRepositoryPluginKey, getWebRepositoryViewer, getXmlData, hashCode, isGlobal, isMarkedForDeletion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.repository.RepositoryData
getConfiguration, getPluginKey, getRepository, getWebRepositoryPluginKey, getWebRepositoryViewer, getXmlData, isGlobal, isMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription, getName
 

Constructor Detail

RepositoryDefinitionImpl

public RepositoryDefinitionImpl(long id,
                                java.lang.String pluginKey,
                                java.lang.String name,
                                int position,
                                java.lang.String description,
                                java.lang.String xmlData,
                                boolean buildTrigger,
                                boolean markedForDeletion,
                                boolean global)

RepositoryDefinitionImpl

public RepositoryDefinitionImpl(PlanRepositoryLink input)

RepositoryDefinitionImpl

public RepositoryDefinitionImpl(RepositoryDefinition repositoryDefinition)
Method Detail

getPosition

public int getPosition()
Description copied from interface: RepositoryDefinition
Position of repository in the list of repositories defined for Plan. Default repository is always on the position 0.

Specified by:
getPosition in interface RepositoryDefinition
Returns:

isBuildTrigger

public boolean isBuildTrigger()
Description copied from interface: RepositoryDefinition
Marks repositories used as build trigger as opposed to only being sources for changesets

Specified by:
isBuildTrigger in interface RepositoryDefinition


Copyright © 2012 Atlassian. All Rights Reserved.