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

org.drools.core.command.LeaveConversationCommand Maven / Gradle / Ivy

There is a newer version: 9.44.0.Final
Show newest version
package org.drools.core.command;

import org.drools.core.command.impl.ExecutableCommand;
import org.kie.api.runtime.Context;


public class LeaveConversationCommand implements ExecutableCommand {
    public LeaveConversationCommand() {
    }

    @Override
    public Void execute(Context context) {
        RequestContextImpl         reqContext = (RequestContextImpl)context;
        ConversationContextManager cvnManager = reqContext.getConversationManager();
        cvnManager.leaveConversation(reqContext, reqContext.getConversationContext().getName());

        return (Void) null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy