Class SlackHelper
- java.lang.Object
-
- org.apache.camel.component.slack.helper.SlackHelper
-
public final class SlackHelper extends Object
Utility methods for Slack
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.slack.api.SlackConfig
createSlackConfig(String serverUrl)
Creates aSlackConfig
instance.
-
-
-
Method Detail
-
createSlackConfig
public static com.slack.api.SlackConfig createSlackConfig(String serverUrl)
Creates aSlackConfig
instance.- Parameters:
serverUrl
- The Slack server URL to use as prefix for API requests. If null or empty then the default SlackConfig instance is returned.- Returns:
- A new
SlackConfig
instance.
-
-