diff options
Diffstat (limited to 'policy-utils/src/main/java/org/openecomp')
-rw-r--r-- | policy-utils/src/main/java/org/openecomp/policy/drools/utils/OrderedService.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/policy-utils/src/main/java/org/openecomp/policy/drools/utils/OrderedService.java b/policy-utils/src/main/java/org/openecomp/policy/drools/utils/OrderedService.java index b50e6e85..0851413c 100644 --- a/policy-utils/src/main/java/org/openecomp/policy/drools/utils/OrderedService.java +++ b/policy-utils/src/main/java/org/openecomp/policy/drools/utils/OrderedService.java @@ -32,4 +32,10 @@ public interface OrderedService * of objects implementing this interface */ public int getSequenceNumber(); + + + /** + * @return the name of the ordered service + */ + public default String getName() {return this.getClass().getName();} } |