Interface AnalysisContextEndpoint
-
- All Known Implementing Classes:
AnalysisContextEndpointImpl
@Path("analysis-context") @Consumes("application/json") @Produces("application/json") public interface AnalysisContextEndpointProvides methods for retrieving and updatingAnalysisContexts.- Author:
- Jesse Sightler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnalysisContextget(Long id)SourceTargetTechnologiesgetCustomTechnologies(Long id)AnalysisContextsaveAsProjectDefault(@Valid AnalysisContext analysisContext, Long projectId, boolean skipChangeToProvisional, boolean synchronizeTechnologiesWithCustomRules)Saves default analysis context for project Each project should have default context by default, so it should update it.
-
-
-
Method Detail
-
get
@GET @Path("{id}") AnalysisContext get(@PathParam("id") Long id)
-
getCustomTechnologies
@GET @Path("{id}/custom-technologies") SourceTargetTechnologies getCustomTechnologies(@PathParam("id") Long id)
-
saveAsProjectDefault
@PUT @Path("migrationProjects/{projectId}") AnalysisContext saveAsProjectDefault(@Valid @Valid AnalysisContext analysisContext, @PathParam("projectId") Long projectId, @QueryParam("skipChangeToProvisional") @DefaultValue("false") boolean skipChangeToProvisional, @QueryParam("synchronizeTechnologiesWithCustomRules") @DefaultValue("false") boolean synchronizeTechnologiesWithCustomRules)Saves default analysis context for project Each project should have default context by default, so it should update it. But in very rare situation, it creates new default context, if project doesn't have any (that should never happen)
-
-