[java-shib-profile] branch main updated: JSPROF-18 Remove "packages" from plugins
Codeberg
noreply at shibboleth.net
Tue Nov 17 13:33:37 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-shib-profile.
View the commit online:
https://codeberg.org/Shibboleth/java-shib-profile/commit/177be068ac17752a7202ae4080e8f99529155ab7
The following commit(s) were added to refs/heads/main by this push:
new 177be06 JSPROF-18 Remove "packages" from plugins
177be06 is described below
commit 177be068ac17752a7202ae4080e8f99529155ab7
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Nov 17 13:31:33 2026 +0000
JSPROF-18 Remove "packages" from plugins
https://shibboleth.atlassian.net/browse/JSPROF-18
Add deprecations to interface
---
.../src/main/java/net/shibboleth/profile/plugin/Plugin.java | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/shib-profile-api/src/main/java/net/shibboleth/profile/plugin/Plugin.java b/shib-profile-api/src/main/java/net/shibboleth/profile/plugin/Plugin.java
index 439d5fb..9cbd26e 100644
--- a/shib-profile-api/src/main/java/net/shibboleth/profile/plugin/Plugin.java
+++ b/shib-profile-api/src/main/java/net/shibboleth/profile/plugin/Plugin.java
@@ -122,12 +122,17 @@ public interface Plugin<T extends Module> {
* Get the things to explicitly install.
*
* @return what to install
+ * @deprecated replacement is the Module Subsystem
*/
+ @Deprecated(since = "5.3", forRemoval = true)
default @Nonnull @Unmodifiable @NotLive Collection<Package> getPackages() {
return CollectionSupport.emptySet();
}
- /** An abstraction for "a thing that we want to unpack into idp home (outside webapps)". */
+ /** An abstraction for "a thing that we want to unpack into idp home (outside webapps)".
+ * @deprecated replacement is the Module Subsystem
+ */
+ @Deprecated(since = "5.3", forRemoval = true)
interface Package {
/** Where in the zip file is the file.
@@ -146,11 +151,12 @@ public interface Plugin<T extends Module> {
boolean isWindows();
/** Is this package for non-windows Only?
- * @return
+ * @return true if it is
*/
boolean isNonWindows();
- /** Is there a meaningless top level directory? */
+ /** Is there a meaningless top level directory?
+ * @return true if it is */
boolean isStripTopLevelDir();
}
}
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list