Class WindupEndpointImpl
- java.lang.Object
-
- org.jboss.windup.web.services.rest.WindupEndpointImpl
-
- All Implemented Interfaces:
WindupEndpoint
public class WindupEndpointImpl extends Object implements WindupEndpoint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.windup.web.services.rest.WindupEndpoint
WindupEndpoint.VersionAndRevision
-
-
Constructor Summary
Constructors Constructor Description WindupEndpointImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancelExecution(Long executionID)voiddeleteExecution(Long executionID)Deletes a report from the specified execution.WindupExecutionexecuteProjectWithContext(AnalysisContext originalContext, Long projectId)Initiates a Windup execution for a particular AnalysisContext.Collection<WindupExecution>getAllExecutions()WindupEndpoint.VersionAndRevisiongetCoreVersion()The Windup Core version.WindupExecutiongetExecution(Long executionId)Gets the execution based upon the execution ID.List<String>getExecutionLogs(Long executionID)Gets an array of the most recent log lines from the requested execution.InputStreamgetExecutionRequestTar(long executionId)Collection<WindupExecution>getProjectExecutions(Long projectId)voiduploadResults(org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput data, long executionId)
-
-
-
Method Detail
-
executeProjectWithContext
public WindupExecution executeProjectWithContext(AnalysisContext originalContext, Long projectId)
Description copied from interface:WindupEndpointInitiates a Windup execution for a particular AnalysisContext.- Specified by:
executeProjectWithContextin interfaceWindupEndpoint- See Also:
ExecutorMDB
-
getAllExecutions
public Collection<WindupExecution> getAllExecutions()
- Specified by:
getAllExecutionsin interfaceWindupEndpoint
-
getExecution
public WindupExecution getExecution(Long executionId)
Description copied from interface:WindupEndpointGets the execution based upon the execution ID.- Specified by:
getExecutionin interfaceWindupEndpoint
-
cancelExecution
public void cancelExecution(Long executionID)
- Specified by:
cancelExecutionin interfaceWindupEndpoint
-
getProjectExecutions
public Collection<WindupExecution> getProjectExecutions(Long projectId)
- Specified by:
getProjectExecutionsin interfaceWindupEndpoint
-
getExecutionRequestTar
public InputStream getExecutionRequestTar(long executionId)
- Specified by:
getExecutionRequestTarin interfaceWindupEndpoint
-
uploadResults
public void uploadResults(org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput data, long executionId)- Specified by:
uploadResultsin interfaceWindupEndpoint
-
deleteExecution
public void deleteExecution(Long executionID)
Description copied from interface:WindupEndpointDeletes a report from the specified execution.- Specified by:
deleteExecutionin interfaceWindupEndpoint
-
getExecutionLogs
public List<String> getExecutionLogs(Long executionID)
Description copied from interface:WindupEndpointGets an array of the most recent log lines from the requested execution.- Specified by:
getExecutionLogsin interfaceWindupEndpoint
-
getCoreVersion
public WindupEndpoint.VersionAndRevision getCoreVersion()
Description copied from interface:WindupEndpointThe Windup Core version.- Specified by:
getCoreVersionin interfaceWindupEndpoint
-
-