.query(project, root.getClientConfig().getServerConfig(), new ListFilesDetailsQuery( root.getClientConfig().getClientServerRef(), Collections.singletonList(path), ListFilesDetailsQuery.RevState.HEAD, 1))
P4ServerComponent .query(project, root.getClientConfig().getServerConfig(), new ListFilesDetailsQuery(root.getClientConfig().getClientServerRef(), Collections.singletonList(fp), ListFilesDetailsQuery.RevState.HAVE, 1)) .blockingGet(UserProjectPreferences.getLockWaitTimeoutMillis(project), TimeUnit.MILLISECONDS);
ListFilesDetailsResult result = P4ServerComponent .query(project, root.getClientConfig().getServerConfig(), new ListFilesDetailsQuery(root.getClientConfig().getClientServerRef(), Collections.singletonList(filePath), ListFilesDetailsQuery.RevState.HEAD, 1)) .blockingGet(UserProjectPreferences.getLockWaitTimeoutMillis(project), TimeUnit.MILLISECONDS);
new ListFilesDetailsQuery(client.getClientConfig().getClientServerRef(), Collections.singletonList(root), ListFilesDetailsQuery.RevState.HAVE, 1)) .blockingGet(UserProjectPreferences.getLockWaitTimeoutMillis(project), TimeUnit.MILLISECONDS);
serverConfig, new ListFilesDetailsQuery(clientConfig.getClientServerRef(), Collections.singletonList(newFile.getParentPath()), ListFilesDetailsQuery.RevState.HAVE, 100)))
.whenCompleted(res -> committedChangelistId[0] = res.getChangelistId().getChangelistId()) .mapQueryAsync((res) -> runner.listFilesDetails( serverConfig, new ListFilesDetailsQuery(clientConfig.getClientServerRef(), Collections.singletonList(newFile.getParentPath()), ListFilesDetailsQuery.RevState.HAVE, 100)))
"@" + committedChangelistId[0], false))) .mapQueryAsync((res) -> runner.listFilesDetails( serverConfig, new ListFilesDetailsQuery(clientConfig.getClientServerRef(), Collections.singletonList(newFile.getParentPath()), ListFilesDetailsQuery.RevState.HEAD, 100)))
.whenCompleted(res -> committedChangelistId[1] = res.getChangelistId().getChangelistId()) .mapQueryAsync((res) -> runner.listFilesDetails( serverConfig, new ListFilesDetailsQuery(clientConfig.getClientServerRef(), Collections.singletonList(newFile.getParentPath()), ListFilesDetailsQuery.RevState.HEAD, 100)))