public class WebHooks extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addWebHook(String tenantId,
String filter,
String url) |
static Map<String,List<Map<String,String>>> |
getAllWebHooks() |
static String |
getFile() |
static List<Map<String,String>> |
getWebHooks(String tenantId) |
static boolean |
isSupportsFile() |
static void |
loadFile() |
static void |
releaseFile() |
static void |
removeWebHook(String tenantId,
String url) |
static void |
removeWebHooks() |
static void |
removeWebHooks(String tenantId) |
static void |
setFile(String file) |
public static void setFile(String file)
public static void releaseFile()
public static String getFile()
public static boolean isSupportsFile()
public static void loadFile()
throws IOException
IOExceptionpublic static void addWebHook(String tenantId, String filter, String url) throws IOException
IOExceptionpublic static void removeWebHook(String tenantId, String url) throws IOException
IOExceptionpublic static void removeWebHooks(String tenantId) throws IOException
IOExceptionpublic static void removeWebHooks()
throws IOException
IOExceptionCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.