Skip to content

Commit 8808857

Browse files
committed
Implemented framework for ListAll usecase featuring update checking
1 parent bd757a3 commit 8808857

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed
Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.hydev.mcpm.client.list;
22

3-
3+
import org.hydev.mcpm.client.updater.CheckForUpdatesBoundary;
44
import org.hydev.mcpm.client.models.PluginYml;
55

66
import java.util.List;
@@ -11,12 +11,16 @@
1111
public interface ListAllBoundary {
1212

1313
/**
14-
* listAllInteractor interacts with the LocalPluginTracker to get the list of plugins, according to a specified
14+
* listAllInteractor interacts with the LocalPluginTracker to get the list of
15+
* plugins, according to a specified
1516
* parameter
1617
*
17-
* @param parameter The parameter for the ListAll use case. 'All' denotes a request to list all manually
18-
* installed plugins, 'manual' denotes a request to list all manually installed plugins, and 'outdated' denotes
19-
* a request to list all manually installed plugins that are outdated.
18+
* @param parameter The parameter for the ListAll use case. 'All' denotes a
19+
* request to list all manually
20+
* installed plugins, 'manual' denotes a request to list all
21+
* manually installed plugins, and 'outdated' denotes
22+
* a request to list all manually installed plugins that are
23+
* outdated.
2024
*/
21-
List<PluginYml> listAll(String parameter);
25+
List<PluginYml> listAll(String parameter, CheckForUpdatesBoundary checkForUpdatesBoundary);
2226
}

0 commit comments

Comments
 (0)