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
IOException
public static void delete(List<String> templateFiles) throws IOException
IOException
public static McTemplate get(String templateName) throws IOException, IllegalAccessException, McBadRequestException
public static String execute(String templateName, String scriptName, HashMap<String,Object> bindings) throws Exception
Exception
public static String execute(String templateName, HashMap<String,Object> bindings) throws Exception
Exception
public static void upload(McTemplate mcTemplate) throws IOException, IllegalAccessException, McBadRequestException
Copyright © 2015–2019. All rights reserved.