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

com.manywho.sdk.services.actions.ActionResponse Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
package com.manywho.sdk.services.actions;

import com.manywho.sdk.api.InvokeType;

public class ActionResponse {
    private O outputs;
    private InvokeType invokeType = InvokeType.Forward;
    private String waitMessage;

    public ActionResponse(InvokeType invokeType) {
        this.invokeType = invokeType;
    }

    public ActionResponse(InvokeType invokeType, String waitMessage) {
        this.invokeType = invokeType;
        this.waitMessage = waitMessage;
    }

    public ActionResponse(O outputs) {
        this.outputs = outputs;
    }

    public ActionResponse(O outputs, InvokeType invokeType) {
        this.outputs = outputs;
        this.invokeType = invokeType;
    }

    public ActionResponse(O outputs, InvokeType invokeType, String waitMessage) {
        this.outputs = outputs;
        this.invokeType = invokeType;
        this.waitMessage = waitMessage;
    }

    public InvokeType getInvokeType() {
        return invokeType;
    }

    public O getOutputs() {
        return outputs;
    }

    public String getWaitMessage() {
        return waitMessage;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy