summaryrefslogtreecommitdiffstats
path: root/controlloop/common/coordination/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'controlloop/common/coordination/src/main')
-rw-r--r--controlloop/common/coordination/src/main/java/org/onap/policy/coordination/CoordinationDirective.java21
1 files changed, 5 insertions, 16 deletions
diff --git a/controlloop/common/coordination/src/main/java/org/onap/policy/coordination/CoordinationDirective.java b/controlloop/common/coordination/src/main/java/org/onap/policy/coordination/CoordinationDirective.java
index 6ba4ca478..a136c7ecc 100644
--- a/controlloop/common/coordination/src/main/java/org/onap/policy/coordination/CoordinationDirective.java
+++ b/controlloop/common/coordination/src/main/java/org/onap/policy/coordination/CoordinationDirective.java
@@ -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.
@@ -21,16 +22,16 @@
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.
*