public class McTemplateUtils extends Object
| Constructor and Description |
|---|
McTemplateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
delete(List<String> templateFiles) |
static String |
execute(String templateName,
HashMap<String,Object> bindings) |
static String |
execute(String templateName,
String scriptName,
HashMap<String,Object> bindings) |
static QueryResponse |
get(Query query) |
static McTemplate |
get(String templateName) |
static void |
upload(McTemplate mcTemplate) |
public static QueryResponse get(Query query) throws IOException
IOExceptionpublic static void delete(List<String> templateFiles) throws IOException
IOExceptionpublic static McTemplate get(String templateName) throws IOException, IllegalAccessException, McBadRequestException
public static String execute(String templateName, String scriptName, HashMap<String,Object> bindings) throws Exception
Exceptionpublic static String execute(String templateName, HashMap<String,Object> bindings) throws Exception
Exceptionpublic static void upload(McTemplate mcTemplate) throws IOException, IllegalAccessException, McBadRequestException
Copyright © 2015–2019. All rights reserved.