Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-commons Commit: 87e2075e3018c1a6044725f0dc90b914072e20e2 https://github.com/xwiki/xwiki-commons/commit/87e2075e3018c1a6044725f0dc90b9... Author: LucasC <[email protected]> Date: 2025-03-11 (Tue, 11 Mar 2025) Changed paths: A xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/annotation/PropertyFeatureMandatory.java Log Message: ----------- XCOMMONS-2738: Introduce the notion of mandatory property feature * Added the annotation Commit: 9a0ee7273430477a2702eba3d7fe92ba4e529c34 https://github.com/xwiki/xwiki-commons/commit/9a0ee7273430477a2702eba3d7fe92... Author: LucasC <[email protected]> Date: 2025-03-11 (Tue, 11 Mar 2025) Changed paths: A xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/PropertyFeatureMandatoryException.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/PropertyGroupDescriptor.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/internal/DefaultBeanDescriptor.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/internal/DefaultBeanManager.java Log Message: ----------- XCOMMONS-2738: Introduce the notion of mandatory property feature * Created an exception type especially for failed mandatory feature checks. * Added the feature checks to the `populateBean` function * Added a field in the propertyGroupDescriptor to hold the info contained in the annotation. Commit: 781c8f51aa1cfc5325bf04c240d8b3f239afc6d0 https://github.com/xwiki/xwiki-commons/commit/781c8f51aa1cfc5325bf04c240d8b3... Author: LucasC <[email protected]> Date: 2025-03-11 (Tue, 11 Mar 2025) Changed paths: M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/internal/DefaultBeanManager.java M xwiki-commons-core/xwiki-commons-properties/src/test/java/org/xwiki/properties/internal/DefaultBeanManagerTest.java A xwiki-commons-core/xwiki-commons-properties/src/test/java/org/xwiki/properties/test/TestBeanFeatures.java Log Message: ----------- XCOMMONS-2738: Introduce the notion of mandatory property feature * Added tests for this feature. * Fixed the checker: the values is cleaned up when progressing in the population process. We keep the used values somewhere close so that we can easily access them when needed. * Created a testBean for the new test. Commit: 6fde30fcaa8f731a06c902d5de7fbde5e1e65f19 https://github.com/xwiki/xwiki-commons/commit/6fde30fcaa8f731a06c902d5de7fbd... Author: LucasC <[email protected]> Date: 2025-03-12 (Wed, 12 Mar 2025) Changed paths: M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/PropertyFeatureMandatoryException.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/annotation/PropertyFeatureMandatory.java Log Message: ----------- XCOMMONS-2738: Introduce the notion of mandatory property feature * Updated since javadocs Commit: cc70faa26793c37a1de2ddc5949c521c6eff9c14 https://github.com/xwiki/xwiki-commons/commit/cc70faa26793c37a1de2ddc5949c52... Author: LucasC <[email protected]> Date: 2025-03-12 (Wed, 12 Mar 2025) Changed paths: M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/PropertyFeatureMandatoryException.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/PropertyGroupDescriptor.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/annotation/PropertyFeatureMandatory.java Log Message: ----------- XCOMMONS-2738: Introduce the notion of mandatory property feature * Added unstable annotations Commit: 61917d90dcd00e8f67ce153eabbd1bd416086ea9 https://github.com/xwiki/xwiki-commons/commit/61917d90dcd00e8f67ce153eabbd1b... Author: LucasC <[email protected]> Date: 2025-03-12 (Wed, 12 Mar 2025) Changed paths: M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/PropertyFeatureMandatoryException.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/PropertyGroupDescriptor.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/annotation/PropertyFeature.java R xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/annotation/PropertyFeatureMandatory.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/internal/DefaultBeanDescriptor.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/internal/DefaultBeanManager.java M xwiki-commons-core/xwiki-commons-properties/src/test/java/org/xwiki/properties/internal/DefaultBeanManagerTest.java M xwiki-commons-core/xwiki-commons-properties/src/test/java/org/xwiki/properties/test/TestBeanFeatures.java Log Message: ----------- XCOMMONS-2738: Introduce the notion of mandatory property feature * Removed the annotation * Added a metadata on the PropertyFeature annotation * Updated everything to use the metadata. * Updated codestyle in the checkFeatureMandatory function to be more readable. * Used a primitive type for the new argument in PropertyGroupDescriptor * Updated the parent of `PropertyFeatureMandatoryException` Commit: ff9b70264f0571445258d07101beb41ead4adf08 https://github.com/xwiki/xwiki-commons/commit/ff9b70264f0571445258d07101beb4... Author: LucasC <[email protected]> Date: 2025-03-13 (Thu, 13 Mar 2025) Changed paths: M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/annotation/PropertyFeature.java Log Message: ----------- XCOMMONS-2738: Introduce the notion of mandatory property feature * Added missing Unstable and since annotations Commit: f3fe40558679420661a6752609202bb58ed2bcf4 https://github.com/xwiki/xwiki-commons/commit/f3fe40558679420661a6752609202b... Author: Thomas Mortagne <[email protected]> Date: 2025-03-13 (Thu, 13 Mar 2025) Changed paths: A xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/PropertyFeatureMandatoryException.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/PropertyGroupDescriptor.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/annotation/PropertyFeature.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/internal/DefaultBeanDescriptor.java M xwiki-commons-core/xwiki-commons-properties/src/main/java/org/xwiki/properties/internal/DefaultBeanManager.java M xwiki-commons-core/xwiki-commons-properties/src/test/java/org/xwiki/properties/internal/DefaultBeanManagerTest.java A xwiki-commons-core/xwiki-commons-properties/src/test/java/org/xwiki/properties/test/TestBeanFeatures.java Log Message: ----------- Merge pull request #1262 from Sereza7/XCOMMONS-2738 XCOMMONS-2738: Introduce the notion of mandatory property feature Compare: https://github.com/xwiki/xwiki-commons/compare/3a1ccd96c288...f3fe40558679 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications