public class ElasticsearchClient extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APPROVE |
static String |
DEPLOYMENT |
Constructor and Description |
---|
ElasticsearchClient() |
Modifier and Type | Method and Description |
---|---|
static String |
createEvent(String json,
String index,
hudson.model.TaskListener listener)
Attempts to send an event to elasticsearch for the `pipeline` index
|
static boolean |
isUrlReachable(String url) |
static boolean |
updateEvent(String id,
String json,
String index,
hudson.model.TaskListener listener) |
public static final String DEPLOYMENT
public static final String APPROVE
public static String createEvent(String json, String index, hudson.model.TaskListener listener)
json
- index
- listener
- public static boolean updateEvent(String id, String json, String index, hudson.model.TaskListener listener)
public static boolean isUrlReachable(String url)
Copyright © 2015–2019 Red Hat. All rights reserved.