We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/adrianmikula/JakartaMigration'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dependency.java•501 B
package adrianmikula.jakartamigration.dependencyanalysis.domain;
import java.util.Objects;
/**
* Represents a dependency relationship between two artifacts.
*/
public record Dependency(
Artifact from,
Artifact to,
String scope,
boolean optional
) {
public Dependency {
Objects.requireNonNull(from, "from artifact cannot be null");
Objects.requireNonNull(to, "to artifact cannot be null");
Objects.requireNonNull(scope, "scope cannot be null");
}
}