@Service public class ForcePruneServiceImpl extends PruningCommon implements ForcePruneService
Constructor and Description |
---|
ForcePruneServiceImpl(WorkflowExecutionDAO workflowExecutionDAO,
LogDAO logDAO,
PruneService pruneService,
ErrorDefinitionDAO errorDefinitionDAO,
ErrorMetadataDAO errorMetadataDAO,
ScenarioExecutionDAO scenarioExecutionDAO,
ConnectionsDAO connectionsDAO,
PackageDAO packageDAO) |
Modifier and Type | Method and Description |
---|---|
void |
forcePruneApplication(String application)
Prune logs from an application
|
void |
forcePruneConnection(String workflowExecutionId,
String scenarioExecutionId,
String connectionId)
Prune a connection used in a scenario execution and with it all its logs
|
void |
forcePruneScenarioExecution(String scenarioExecutionId)
Prune a scenario execution and with it all used connections and logs
|
void |
forcePruneWorkflow(String workflowExecutionId)
Prune a workflow execution and with it all scenario executions and connections and all logs belonging to them
|
void |
pruneUploadedPackage(String packageName)
Prune uploaded package (only way to delete it)
|
updateErrors
@Autowired public ForcePruneServiceImpl(WorkflowExecutionDAO workflowExecutionDAO, LogDAO logDAO, PruneService pruneService, ErrorDefinitionDAO errorDefinitionDAO, ErrorMetadataDAO errorMetadataDAO, ScenarioExecutionDAO scenarioExecutionDAO, ConnectionsDAO connectionsDAO, PackageDAO packageDAO)
public void forcePruneWorkflow(String workflowExecutionId)
ForcePruneService
forcePruneWorkflow
in interface ForcePruneService
workflowExecutionId
- id of the deleted workflow executionpublic void forcePruneApplication(String application)
ForcePruneService
forcePruneApplication
in interface ForcePruneService
application
- name of the applicationpublic void pruneUploadedPackage(String packageName)
ForcePruneService
pruneUploadedPackage
in interface ForcePruneService
packageName
- name of the deleted packagepublic void forcePruneScenarioExecution(String scenarioExecutionId)
ForcePruneService
forcePruneScenarioExecution
in interface ForcePruneService
scenarioExecutionId
- scenario execution idpublic void forcePruneConnection(String workflowExecutionId, String scenarioExecutionId, String connectionId)
ForcePruneService
forcePruneConnection
in interface ForcePruneService
workflowExecutionId
- workflow execution idscenarioExecutionId
- scenario execution idconnectionId
- connection IDCopyright © 2020. All rights reserved.