software.amazon.smithy.lsp.project.ProjectChange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smithy-language-server Show documentation
Show all versions of smithy-language-server Show documentation
Language Server Protocol implementation for Smithy
The newest version!
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package software.amazon.smithy.lsp.project;
import java.util.HashSet;
import java.util.Set;
/**
* File changes to a {@link Project}.
*
* @param changedBuildFileUris The uris of changed build files
* @param createdSmithyFileUris The uris of created Smithy files
* @param deletedSmithyFileUris The uris of deleted Smithy files
*/
public record ProjectChange(
Set changedBuildFileUris,
Set createdSmithyFileUris,
Set deletedSmithyFileUris
) {
/**
* @return An empty and mutable set of project changes
*/
public static ProjectChange empty() {
return new ProjectChange(
new HashSet<>(),
new HashSet<>(),
new HashSet<>());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy