com.genesys.workspace.models.Capability Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of workspace Show documentation
Show all versions of workspace Show documentation
A Java library to interface to Genesys Workspace public API
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