EndProgress.java

1
/*******************************************************************************
2
 * Copyhacked (H) 2012-2020.
3
 * This program and the accompanying materials
4
 * are made available under no term at all, use it like
5
 * you want, but share and discuss about it
6
 * every time possible with every body.
7
 * 
8
 * Contributors:
9
 *      ron190 at ymail dot com - initial implementation
10
 ******************************************************************************/
11
package com.jsql.view.swing.interaction;
12
13
import com.jsql.model.bean.database.AbstractElementDatabase;
14
import com.jsql.view.interaction.InteractionCommand;
15
import com.jsql.view.swing.util.MediatorHelper;
16
17
/**
18
 * Stop the refreshing of progress bar.
19
 */
20
public class EndProgress implements InteractionCommand {
21
    
22
    /**
23
     * The element in the database tree for which the progress ends.
24
     */
25
    private final AbstractElementDatabase dataElementDatabase;
26
27
    /**
28
     * @param interactionParams Element to update
29
     */
30
    public EndProgress(Object[] interactionParams) {
31
        this.dataElementDatabase = (AbstractElementDatabase) interactionParams[0];
32
    }
33
34
    @Override
35
    public void execute() {
36 1 1. execute : removed call to com/jsql/view/swing/tree/TreeDatabase::endProgress → NO_COVERAGE
        MediatorHelper.treeDatabase().endProgress(this.dataElementDatabase);
37
    }
38
}

Mutations

36

1.1
Location : execute
Killed by : none
removed call to com/jsql/view/swing/tree/TreeDatabase::endProgress → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.16.1