public interface PushCapableRepository extends Repository
SELECTED_REPOSITORY, UNKNOWN_HOST| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
commit(@NotNull File sourceDirectory,
@NotNull String message)
Perform a commit (dvcs commit).
|
void |
pushRevision(@NotNull File sourceDirectory,
@Nullable String vcsRevisionKey)
Push the specified revision to the remote directory.
|
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKeypopulateFromConfig, toConfigurationcollectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferentcustomizeBuildRequirements, removeBuildRequirementsaddDefaultValues, isConfigurationMissing, prepareConfigObject, validateinitgetEditHtml, getViewHtmlgetDescriptionvoid pushRevision(@NotNull
@NotNull File sourceDirectory,
@Nullable
@Nullable String vcsRevisionKey)
throws RepositoryException
vcsRevisionKey - - the revisionKey (usually a branch name) to pushsourceDirectory - - the working directory of the repository we want to push fromRepositoryException - - when something goes wrong@NotNull @NotNull String commit(@NotNull @NotNull File sourceDirectory, @NotNull @NotNull String message) throws RepositoryException
sourceDirectory - - which workspace directory to perform the commitmessage - - what message use for commitRepositoryException - - when something goes wrongCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.