From 1cbc0c878e01e1b25cd479b8c8fd4d05a610f3bf Mon Sep 17 00:00:00 2001 From: Sumanth Reddy Bandi Date: Tue, 19 Mar 2024 13:22:35 -0400 Subject: [PATCH] IMPL: Getters on MaskingPattern (#16) --- README.md | 4 ++-- ejmask-api/pom.xml | 2 +- .../com/ebay/ejmask/api/MaskingPattern.java | 21 +++++++++++++++++++ ejmask-bom/pom.xml | 2 +- ejmask-core/pom.xml | 2 +- ejmask-extensions/pom.xml | 2 +- .../ejmask-spring-autoconfig/pom.xml | 2 +- ejmask-spring/ejmask-spring-boot/pom.xml | 2 +- ejmask-spring/ejmask-spring-core/pom.xml | 2 +- ejmask-spring/pom.xml | 2 +- pom.xml | 2 +- 11 files changed, 32 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a5a6407..622e0bb 100644 --- a/README.md +++ b/README.md @@ -233,14 +233,14 @@ Alternatively you can pull it from the central Maven repositories: com.ebay.ejmask ejmask-bom - 1.0.2 + 1.0.3 ``` ### Using in your Gradle Project. ```groovy -compile group: 'com.ebay.ejmask', name: 'ejmask-bom', version: '1.0.2' +compile group: 'com.ebay.ejmask', name: 'ejmask-bom', version: '1.0.3' ``` ## Roadmap diff --git a/ejmask-api/pom.xml b/ejmask-api/pom.xml index 417886a..bb9d04b 100644 --- a/ejmask-api/pom.xml +++ b/ejmask-api/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.2 + 1.0.3 ejmask-api diff --git a/ejmask-api/src/main/java/com/ebay/ejmask/api/MaskingPattern.java b/ejmask-api/src/main/java/com/ebay/ejmask/api/MaskingPattern.java index 18e4092..b536ba7 100644 --- a/ejmask-api/src/main/java/com/ebay/ejmask/api/MaskingPattern.java +++ b/ejmask-api/src/main/java/com/ebay/ejmask/api/MaskingPattern.java @@ -109,4 +109,25 @@ public int hashCode() { public String toString() { return "order=" + this.order + ";pattern=" + this.pattern.pattern() + ";replacement=" + this.replacement; } + + /** + * Get the value of order + * + * @return the value of order + */ + public int getOrder() { return order; } + + /** + * Get the value of pattern + * + * @return the value of pattern + */ + public Pattern getPattern() { return pattern; } + + /** + * Get the value of replacement + * + * @return the value of replacement + */ + public String getReplacement() { return replacement; } } diff --git a/ejmask-bom/pom.xml b/ejmask-bom/pom.xml index 07a0a03..2dc9ad2 100644 --- a/ejmask-bom/pom.xml +++ b/ejmask-bom/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.2 + 1.0.3 ../pom.xml diff --git a/ejmask-core/pom.xml b/ejmask-core/pom.xml index 58805a7..e1c07fa 100644 --- a/ejmask-core/pom.xml +++ b/ejmask-core/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.2 + 1.0.3 ejmask-core diff --git a/ejmask-extensions/pom.xml b/ejmask-extensions/pom.xml index 3acc040..c56039a 100644 --- a/ejmask-extensions/pom.xml +++ b/ejmask-extensions/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.2 + 1.0.3 ejmask-extensions diff --git a/ejmask-spring/ejmask-spring-autoconfig/pom.xml b/ejmask-spring/ejmask-spring-autoconfig/pom.xml index 618f10c..bfe10bb 100644 --- a/ejmask-spring/ejmask-spring-autoconfig/pom.xml +++ b/ejmask-spring/ejmask-spring-autoconfig/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-spring - 1.0.2 + 1.0.3 ejmask-spring-autoconfig diff --git a/ejmask-spring/ejmask-spring-boot/pom.xml b/ejmask-spring/ejmask-spring-boot/pom.xml index 6cebed7..90e73d1 100644 --- a/ejmask-spring/ejmask-spring-boot/pom.xml +++ b/ejmask-spring/ejmask-spring-boot/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-spring - 1.0.2 + 1.0.3 ejmask-spring-boot diff --git a/ejmask-spring/ejmask-spring-core/pom.xml b/ejmask-spring/ejmask-spring-core/pom.xml index 812baa6..4572fac 100644 --- a/ejmask-spring/ejmask-spring-core/pom.xml +++ b/ejmask-spring/ejmask-spring-core/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-spring - 1.0.2 + 1.0.3 ejmask-spring-core diff --git a/ejmask-spring/pom.xml b/ejmask-spring/pom.xml index a8ceec4..7def6ac 100644 --- a/ejmask-spring/pom.xml +++ b/ejmask-spring/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.2 + 1.0.3 ejmask-spring diff --git a/pom.xml b/pom.xml index 0f635f1..56771a8 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.2 + 1.0.3 pom