public class CvsRepositoryManager extends Object
| Constructor and Description |
|---|
CvsRepositoryManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkout(String vcsRevisionKey,
File sourceDirectory,
BuildLogger buildLogger,
CVSRepository cvsRepository,
boolean recursive,
BuildContext buildContext) |
void |
checkout(String vcsRevisionKey,
File sourceDirectory,
BuildLogger buildLogger,
CVSRepository cvsRepository,
BuildContext buildContext) |
Date |
findLatestDateFromCommits(List<? extends CommitContext> commits)
Loops through all the commits and returns the latest date.
|
List<Commit> |
getCommitsSince(Date lastUpdate,
String clientPath,
BuildLogger buildLogger,
CVSRepository cvsRepository) |
protected org.netbeans.lib.cvsclient.command.GlobalOptions |
getGlobalOptions(CVSRepository cvsRepository) |
org.netbeans.lib.cvsclient.CVSRoot |
getPasswordConfiguredCvsRoot(String cvsRootString,
String password) |
CVSRepository.SymbolicNameType |
getSymbolicNameType(String clientPath,
BuildLogger buildLogger,
CVSRepository cvsRepository)
Execute cvs rtag -h -l modulename operation and gather information about available symbolic revisions.
|
void |
updateCvs(String vcsRevisionKey,
File sourceDirectory,
BuildLogger buildLogger,
CVSRepository cvsRepository,
BuildContext buildContext) |
void |
validateCvsRoot(ErrorCollection errorCollection,
String cvsRoot,
String password) |
void |
validateCvsRoot(ErrorCollection errorCollection,
String cvsRoot,
String passphrase,
String keyFile) |
public void updateCvs(@Nullable
String vcsRevisionKey,
@NotNull
File sourceDirectory,
@NotNull
BuildLogger buildLogger,
@NotNull
CVSRepository cvsRepository,
@NotNull
BuildContext buildContext)
throws org.netbeans.lib.cvsclient.command.CommandException,
org.netbeans.lib.cvsclient.connection.AuthenticationException
org.netbeans.lib.cvsclient.command.CommandExceptionorg.netbeans.lib.cvsclient.connection.AuthenticationExceptionpublic void checkout(@Nullable
String vcsRevisionKey,
@NotNull
File sourceDirectory,
@NotNull
BuildLogger buildLogger,
@NotNull
CVSRepository cvsRepository,
@Nullable
BuildContext buildContext)
throws org.netbeans.lib.cvsclient.command.CommandException,
org.netbeans.lib.cvsclient.connection.AuthenticationException
org.netbeans.lib.cvsclient.command.CommandExceptionorg.netbeans.lib.cvsclient.connection.AuthenticationExceptionpublic void checkout(@Nullable
String vcsRevisionKey,
@NotNull
File sourceDirectory,
@NotNull
BuildLogger buildLogger,
@NotNull
CVSRepository cvsRepository,
boolean recursive,
@Nullable
BuildContext buildContext)
throws org.netbeans.lib.cvsclient.command.CommandException,
org.netbeans.lib.cvsclient.connection.AuthenticationException
org.netbeans.lib.cvsclient.command.CommandExceptionorg.netbeans.lib.cvsclient.connection.AuthenticationExceptionpublic CVSRepository.SymbolicNameType getSymbolicNameType(@Nullable String clientPath, @NotNull BuildLogger buildLogger, @NotNull CVSRepository cvsRepository) throws Exception
clientPath - Local path for CVS clientbuildLogger - LoggercvsRepository - CVSRepository objectException@NotNull public List<Commit> getCommitsSince(@NotNull Date lastUpdate, @Nullable String clientPath, @NotNull BuildLogger buildLogger, @NotNull CVSRepository cvsRepository) throws org.netbeans.lib.cvsclient.connection.AuthenticationException, org.netbeans.lib.cvsclient.command.CommandException
org.netbeans.lib.cvsclient.connection.AuthenticationExceptionorg.netbeans.lib.cvsclient.command.CommandException@Nullable public Date findLatestDateFromCommits(@NotNull List<? extends CommitContext> commits)
commits - @NotNull
public org.netbeans.lib.cvsclient.CVSRoot getPasswordConfiguredCvsRoot(@NotNull
String cvsRootString,
@Nullable
String password)
public void validateCvsRoot(ErrorCollection errorCollection, String cvsRoot, String passphrase, String keyFile)
public void validateCvsRoot(ErrorCollection errorCollection, String cvsRoot, String password)
protected org.netbeans.lib.cvsclient.command.GlobalOptions getGlobalOptions(CVSRepository cvsRepository)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.