public class DynamicTemplate extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DynamicTemplate.MatchType |
Constructor and Description |
---|
DynamicTemplate(String name,
Map<String,Object> conf,
String pathMatch,
String pathUnmatch,
String match,
String unmatch,
String matchMappingType,
DynamicTemplate.MatchType matchType,
Map<String,Object> mapping) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
conf() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
hasType() |
Map<String,Object> |
mappingForName(String name,
String dynamicType) |
String |
mappingType(String dynamicType) |
boolean |
match(ContentPath path,
String name,
String dynamicType) |
String |
name() |
static DynamicTemplate |
parse(String name,
Map<String,Object> conf) |
public static DynamicTemplate parse(String name, Map<String,Object> conf) throws MapperParsingException
MapperParsingException
public String name()
public boolean match(ContentPath path, String name, String dynamicType)
public boolean hasType()
Copyright © 2009–2016. All rights reserved.