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

org.asteriskjava.pbx.asterisk.wrap.actions.CommandAction Maven / Gradle / Ivy

The newest version!
package org.asteriskjava.pbx.asterisk.wrap.actions;

public class CommandAction extends AbstractManagerAction {

    private String _command;

    public CommandAction(final String command) {
        this._command = command;
    }

    public CommandAction() {
    }

    @Override
    public org.asteriskjava.manager.action.ManagerAction getAJAction() {
        final org.asteriskjava.manager.action.CommandAction action = new org.asteriskjava.manager.action.CommandAction();
        action.setCommand(this._command);
        action.setActionId(this.getActionId());

        return action;
    }

    public String toString() {
        return "CommandAction: command=" + this._command; //$NON-NLS-1$
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy