public class ChangeSetDtoBuilder extends Object
Modifier | Constructor and Description |
---|---|
protected |
ChangeSetDtoBuilder(LocalRepoTransaction transaction,
RepoTransport repoTransport) |
Modifier and Type | Method and Description |
---|---|
ChangeSetDto |
buildChangeSetDto(Long lastSyncToRemoteRepoLocalRepositoryRevisionSynced) |
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) |
void |
prepareBuildChangeSetDto(Long lastSyncToRemoteRepoLocalRepositoryRevisionSynced) |
protected void |
prepareLastSyncToRemoteRepo(Long lastSyncToRemoteRepoLocalRepositoryRevisionSynced) |
protected ChangeSetDtoBuilder(LocalRepoTransaction transaction, RepoTransport repoTransport)
public static ChangeSetDtoBuilder create(LocalRepoTransaction transaction, RepoTransport repoTransport)
public void prepareBuildChangeSetDto(Long lastSyncToRemoteRepoLocalRepositoryRevisionSynced)
public ChangeSetDto buildChangeSetDto(Long lastSyncToRemoteRepoLocalRepositoryRevisionSynced)
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–2018. All rights reserved.