@atomist/sdm-pack-spring
Version:
Atomist software delivery machine extension pack for Spring and Spring Boot applications
20 lines (19 loc) • 894 B
TypeScript
import { Project, ProjectReview, ReviewComment, Severity, SourceLocation } from "@atomist/automation-client";
import { ReviewerRegistration } from "@atomist/sdm";
export declare class NonSpecificMvcAnnotation implements ReviewComment {
raw: string;
sourceLocation: SourceLocation;
readonly severity: Severity;
readonly category: string;
readonly subcategory: string;
constructor(raw: string, sourceLocation: SourceLocation);
readonly detail: string;
}
/**
* Find all non specific, old style @RequestMapping annotations
* @param {Project} p project to search
* @param globPattern glob pattern. Defaults to Maven convention Java source files
* location of source tree.
*/
export declare function findNonSpecificMvcAnnotations(p: Project, globPattern?: string): Promise<ProjectReview>;
export declare const NonSpecificMvcAnnotationsReviewer: ReviewerRegistration;