diff options
author | Jim Hahn <jrh3@att.com> | 2021-08-02 15:28:00 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-08-06 09:22:13 -0400 |
commit | 338cc2611738783285f9edebd259f7e6bff3973d (patch) | |
tree | 86518ff526b89e6f2d24fb7ed1882fe95dd5c8e1 /plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-websocket/src/main | |
parent | 7438fe5a86a9fcfaf248ee32197b24d1badaecb3 (diff) |
Use lombok in apex-pdp #3
Updated plugins thru plugins-persistence-jpa-eclipselink.
Issue-ID: POLICY-3391
Change-Id: Id7a5aeca8bb45c7a089f0b9d49c9ecd4bc8a7178
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-websocket/src/main')
-rw-r--r-- | plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-websocket/src/main/java/org/onap/policy/apex/plugins/event/carrier/websocket/WebSocketCarrierTechnologyParameters.java | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-websocket/src/main/java/org/onap/policy/apex/plugins/event/carrier/websocket/WebSocketCarrierTechnologyParameters.java b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-websocket/src/main/java/org/onap/policy/apex/plugins/event/carrier/websocket/WebSocketCarrierTechnologyParameters.java index f867020ec..89588ec37 100644 --- a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-websocket/src/main/java/org/onap/policy/apex/plugins/event/carrier/websocket/WebSocketCarrierTechnologyParameters.java +++ b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-websocket/src/main/java/org/onap/policy/apex/plugins/event/carrier/websocket/WebSocketCarrierTechnologyParameters.java @@ -21,6 +21,7 @@ package org.onap.policy.apex.plugins.event.carrier.websocket; +import lombok.Getter; import org.apache.commons.lang3.StringUtils; import org.onap.policy.apex.service.parameters.carriertechnology.CarrierTechnologyParameters; import org.onap.policy.common.parameters.BeanValidationResult; @@ -34,6 +35,7 @@ import org.onap.policy.models.base.Validated; * * @author Liam Fallon (liam.fallon@ericsson.com) */ +@Getter public class WebSocketCarrierTechnologyParameters extends CarrierTechnologyParameters { // @formatter:off private static final int MIN_USER_PORT = 1024; @@ -74,33 +76,6 @@ public class WebSocketCarrierTechnologyParameters extends CarrierTechnologyParam } /** - * Gets the host. - * - * @return the host - */ - public String getHost() { - return host; - } - - /** - * Gets the port. - * - * @return the port - */ - public int getPort() { - return port; - } - - /** - * Checks if is ws client. - * - * @return true, if checks if is ws client - */ - public boolean isWsClient() { - return wsClient; - } - - /** * {@inheritDoc}. */ @Override |