com.sap.ipe.ble.irp.handler.messages.ExtensionMessage Maven / Gradle / Ivy
package com.sap.ipe.ble.irp.handler.messages;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.stereotype.Component;
import java.util.List;
/***
* ExtensionMessage class is used to show the messages returned from the Remote Handler on th UI
*/
@Component
@JsonIgnoreProperties(ignoreUnknown = true)
public class ExtensionMessage{
@JsonProperty("Messages")
private List messages;
/**
* This method is used to specify as default constructor
*/
public ExtensionMessage() {
}
/**
* This method is used to get all the messages
* @return messages to be shown
*/
public List getMessages() {
return messages;
}
/***
* This method is used to set all the messages
* @param messages setting messages to show on UI
*/
public void setMessages(List messages) {
this.messages = messages;
}
}