public class ChangeSetDtoBuilder extends Object
Modifier | Constructor and Description |
---|---|
protected |
ChangeSetDtoBuilder(LocalRepoTransaction transaction,
RepoTransport repoTransport) |
Modifier and Type | Method and Description |
---|---|
ChangeSetDto |
buildChangeSetDto(RepositoryDto repositoryDto) |
protected ConfigPropSetDto |
buildParentConfigPropSetDto() |
static ChangeSetDtoBuilder |
create(LocalRepoTransaction transaction,
RepoTransport repoTransport) |
protected List<File> |
getExistingConfigFilesAbovePathPrefix() |
protected LocalRepoManager |
getLocalRepoManager() |
protected File |
getPathPrefixFile() |
protected boolean |
isFileModifiedAfterLastSync(Collection<File> files) |
protected boolean |
isPathUnderPathPrefix(String path) |
RepositoryDto |
prepareBuildChangeSetDto(Long lastSyncToRemoteRepoLocalRepositoryRevisionSynced) |
protected void |
prepareLastSyncToRemoteRepo(Long lastSyncToRemoteRepoLocalRepositoryRevisionSynced) |
protected ChangeSetDtoBuilder(LocalRepoTransaction transaction, RepoTransport repoTransport)
public static ChangeSetDtoBuilder create(LocalRepoTransaction transaction, RepoTransport repoTransport)
public RepositoryDto prepareBuildChangeSetDto(Long lastSyncToRemoteRepoLocalRepositoryRevisionSynced)
public ChangeSetDto buildChangeSetDto(RepositoryDto repositoryDto)
protected void prepareLastSyncToRemoteRepo(Long lastSyncToRemoteRepoLocalRepositoryRevisionSynced)
protected ConfigPropSetDto buildParentConfigPropSetDto()
ConfigPropSetDto
for the parent configs or null
, if no sync needed.protected List<File> getExistingConfigFilesAbovePathPrefix()
protected boolean isFileModifiedAfterLastSync(Collection<File> files)
protected File getPathPrefixFile()
protected LocalRepoManager getLocalRepoManager()
protected boolean isPathUnderPathPrefix(String path)
Copyright © 2013–2019. All rights reserved.