Class VcsLocationDefinitionImpl
- java.lang.Object
-
- com.atlassian.bamboo.vcs.configuration.VcsLocationDefinitionImpl
-
- All Implemented Interfaces:
VcsConfigurationFragment
,VcsLocationDefinition
public class VcsLocationDefinitionImpl extends Object implements VcsLocationDefinition
-
-
Field Summary
Fields Modifier and Type Field Description protected RepositoryConfigurationReference
configurationRef
-
Constructor Summary
Constructors Constructor Description VcsLocationDefinitionImpl(@NotNull VcsLocationDefinition vcsLocation)
VcsLocationDefinitionImpl(@NotNull VcsLocationDefinition vcsLocation, @Nullable String legacyXml)
VcsLocationDefinitionImpl(@NotNull Map<String,String> serverConfiguration, @Nullable String legacyXml)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull Map<String,String>
getConfiguration()
RepositoryConfigurationReference
getConfigurationRef()
String
getLegacyConfigurationXml()
int
hashCode()
boolean
isLegacyRepository()
-
-
-
Field Detail
-
configurationRef
@XStreamConverter(RepositoryConfigurationReferenceConverter.class) protected final RepositoryConfigurationReference configurationRef
-
-
Constructor Detail
-
VcsLocationDefinitionImpl
public VcsLocationDefinitionImpl(@NotNull @NotNull Map<String,String> serverConfiguration, @Nullable @Nullable String legacyXml)
-
VcsLocationDefinitionImpl
public VcsLocationDefinitionImpl(@NotNull @NotNull VcsLocationDefinition vcsLocation)
-
VcsLocationDefinitionImpl
public VcsLocationDefinitionImpl(@NotNull @NotNull VcsLocationDefinition vcsLocation, @Nullable @Nullable String legacyXml)
-
-
Method Detail
-
isLegacyRepository
public boolean isLegacyRepository()
- Specified by:
isLegacyRepository
in interfaceVcsLocationDefinition
-
getConfiguration
@NotNull public @NotNull Map<String,String> getConfiguration()
- Specified by:
getConfiguration
in interfaceVcsConfigurationFragment
-
getConfigurationRef
public RepositoryConfigurationReference getConfigurationRef()
-
getLegacyConfigurationXml
public String getLegacyConfigurationXml()
- Specified by:
getLegacyConfigurationXml
in interfaceVcsLocationDefinition
-
-