Remove deprecated DMAAP dependency
[policy/drools-applications.git] / controlloop / common / coordination / src / main / java / org / onap / policy / coordination / CoordinationDirective.java
index 6ba4ca4..a136c7e 100644 (file)
@@ -3,6 +3,7 @@
  * guard
  * ================================================================================
  * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2024 Nordix Foundation.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 package org.onap.policy.coordination;
 
 import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
 
+@Setter
+@Getter
 public class CoordinationDirective {
 
     private List<String> controlLoop;
     private String coordinationFunction;
 
-    public List<String> getControlLoop() {
-        return controlLoop;
-    }
-
     /**
      * gets the ith control loop.
      *
@@ -41,18 +42,6 @@ public class CoordinationDirective {
         return controlLoop.get(index);
     }
 
-    public void setControlLoop(List<String> controlLoop) {
-        this.controlLoop = controlLoop;
-    }
-
-    public String getCoordinationFunction() {
-        return coordinationFunction;
-    }
-
-    public void setCoordinationFunction(String coordinationFunction) {
-        this.coordinationFunction = coordinationFunction;
-    }
-
     /**
      * toString.
      *