Class WindupExecutionService
- java.lang.Object
-
- org.jboss.windup.web.services.service.WindupExecutionService
-
public class WindupExecutionService extends Object
- Author:
- David Klingenberg
-
-
Constructor Summary
Constructors Constructor Description WindupExecutionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancelExecution(Long executionID)voiddeleteExecution(Long executionID)WindupExecutionexecuteProjectWithContext(AnalysisContext originalContext, Long projectId)WindupExecutionget(Long id)Gets an execution by ID, or throws NotFoundException if it does not exist.WindupExecutiongetNoThrow(Long id)Gets an execution by ID This method is workaround forFileDefaultServlet(exception thrown from get method cannot be caught in it, it is processed somewhere inside EJB container and it creates default error message output and adds lots of errors to log)
-
-
-
Method Detail
-
get
public WindupExecution get(Long id)
Gets an execution by ID, or throws NotFoundException if it does not exist.- Parameters:
id-- Returns:
-
getNoThrow
public WindupExecution getNoThrow(Long id)
Gets an execution by ID This method is workaround forFileDefaultServlet(exception thrown from get method cannot be caught in it, it is processed somewhere inside EJB container and it creates default error message output and adds lots of errors to log)
-
executeProjectWithContext
public WindupExecution executeProjectWithContext(AnalysisContext originalContext, Long projectId)
-
cancelExecution
public void cancelExecution(Long executionID)
-
deleteExecution
public void deleteExecution(Long executionID)
-
-