com.nfbsoftware.sansserverplugin.sdk.lambda.model.HandlerResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sans-server-plugin Show documentation
Show all versions of sans-server-plugin Show documentation
The NFB Software SansServer-Plugin serves two purposes, one as a development SDK and the other as a Maven plugin to build, provision, and deploy SansServer-based applications.
package com.nfbsoftware.sansserverplugin.sdk.lambda.model;
import java.util.HashMap;
import java.util.Map;
/**
* The HandlerResponse is a base class used to bring consistency to the responses of our Lambda handlers
*
* @author Brendan Clemenzi
*/
public class HandlerResponse
{
private String m_status;
private String m_statusMessage;
private Map m_data = new HashMap();
public class StatusKeys
{
public static final String SUCCESS = "SUCCESS";
public static final String WARNING = "WARNING";
public static final String FAILURE = "FAILURE";
}
public String getStatus()
{
return m_status;
}
public void setStatus(String status)
{
m_status = status;
}
public String getStatusMessage()
{
return m_statusMessage;
}
public void setStatusMessage(String statusMessage)
{
m_statusMessage = statusMessage;
}
public Map getData()
{
return m_data;
}
public void setData(Map data)
{
m_data = data;
}
}