Class AnalysisContextEndpointImpl
- java.lang.Object
-
- org.jboss.windup.web.services.rest.AnalysisContextEndpointImpl
-
- All Implemented Interfaces:
AnalysisContextEndpoint
public class AnalysisContextEndpointImpl extends Object implements AnalysisContextEndpoint
- Author:
- Jesse Sightler
-
-
Constructor Summary
Constructors Constructor Description AnalysisContextEndpointImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public AnalysisContext get(Long id)
- Specified by:
getin interfaceAnalysisContextEndpoint
-
getCustomTechnologies
public SourceTargetTechnologies getCustomTechnologies(Long id)
- Specified by:
getCustomTechnologiesin interfaceAnalysisContextEndpoint
-
saveAsProjectDefault
public AnalysisContext saveAsProjectDefault(@Valid @Valid AnalysisContext analysisContext, Long projectId, boolean skipChangeToProvisional, boolean synchronizeTechnologiesWithCustomRules)
Description copied from interface:AnalysisContextEndpointSaves 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)- Specified by:
saveAsProjectDefaultin interfaceAnalysisContextEndpoint
-
-