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

com.genesys.workspace.models.Capability Maven / Gradle / Ivy

There is a newer version: 9.0.73
Show newest version
package com.genesys.workspace.models;

public enum Capability {
    Answer,
    Release,
    Hold,
    Retrieve,
    SendDtmf,
    AttachUserData,
    DeleteUserDataPair,
    UpdateUserData,
    InitiateConference,
    InitiateTransfer,
    CompleteConference,
    CompleteTransfer,
    SingleStepConference,
    SingleStepTransfer,
    DeleteFromConference,
    StartRecording,
    StopRecording,
    PauseRecording,
    ResumeRecording,
    SwitchToListenIn,
    SwitchToCoaching,
    SwitchToBargeIn,
    Alternate,
    Clear,
    Reconnect,
    Redirect,
    Complete,
    Merge;
    
    public static Capability fromString(String s) {
        if(s != null) {
            s = s.replace("-", "");
            for(Capability v: Capability.values()) {
                if(v.name().compareToIgnoreCase(s) == 0) {
                    return v;
                }
            }
        }
        
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy