Skip to content

Commit 4641451

Browse files
committed
Add a method to get reference pattern
1 parent 64bfdb8 commit 4641451

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

multiapps-mta/src/main/java/org/cloudfoundry/multiapps/mta/resolvers/ReferencePattern.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ protected boolean hasDepthOfReference() {
2626
return PLACEHOLDER.equals(this);
2727
}
2828

29+
public String getPattern() {
30+
return pattern;
31+
}
32+
2933
@Override
3034
public List<Reference> match(String line) {
3135
Matcher matcher = Pattern.compile(this.pattern)

0 commit comments

Comments
 (0)