|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Repository
Basic contract for interfacing with various version control repository systems.
Field Summary | |
---|---|
static java.lang.String |
SELECTED_REPOSITORY
Constant for fetching out the selected repository key from a BuildConfiguration |
static java.lang.String |
UNKNOWN_HOST
A marker string to return when the host is not known |
Method Summary | |
---|---|
ErrorCollection |
checkConnection()
This method internally validates the current connection for the repository. |
java.lang.String |
getHost()
What's the repostory server host |
java.lang.String |
getKey()
The full complete plugin key for the repo |
java.lang.String |
getName()
The display name for the repository type |
java.lang.String |
getTriggerIpAddress()
What's the repository's optional trigger IP address? |
boolean |
isRepositoryDifferent(Repository repository)
Checks if the current repo is the same or not and sets the referencesDifferentRepository flag accordingly |
void |
setReferencesDifferentRepository(boolean isDifferentRepository)
Record that the repository configutation |
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig |
---|
populateFromConfig, toConfiguration |
Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2 |
---|
collectChangesSinceLastBuild, getSourceCodeDirectory, referencesDifferentRepository, retrieveSourceCode |
Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin |
---|
addDefaultValues, customizeBuildRequirements, getEditHtml, getViewHtml, init, prepareConfigObject, validate |
Field Detail |
---|
static final java.lang.String UNKNOWN_HOST
static final java.lang.String SELECTED_REPOSITORY
BuildConfiguration
Method Detail |
---|
@NotNull java.lang.String getKey()
@NotNull java.lang.String getName()
java.lang.String getHost()
@NotNull ErrorCollection checkConnection()
ErrorCollection
must not be null. The errros should be translated to error messages, rather than field errors.@Nullable java.lang.String getTriggerIpAddress()
boolean isRepositoryDifferent(@NotNull Repository repository)
repository
- void setReferencesDifferentRepository(boolean isDifferentRepository)
isDifferentRepository
- true iff the repository now references a different repostory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |