All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nfbsoftware.sansserverplugin.sdk.lambda.model.HandlerResponse Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.0.54
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy