public static class ResourceHandler.Builder extends Object implements HandlerBuilder
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HandlerWrapper | build(Map<String,Object> config) Creates the handler |
String | defaultParameter() |
String | name() The string representation of the handler name. |
Map<String,Class<?>> | parameters() Returns a map of parameters and their types. |
Set<String> | requiredParameters() |
public String name()
HandlerBuilder
name
in interface HandlerBuilder
public Map<String,Class<?>> parameters()
HandlerBuilder
parameters
in interface HandlerBuilder
public Set<String> requiredParameters()
requiredParameters
in interface HandlerBuilder
public String defaultParameter()
defaultParameter
in interface HandlerBuilder
public HandlerWrapper build(Map<String,Object> config)
HandlerBuilder
build
in interface HandlerBuilder
config
- The handler configCopyright © 2015 JBoss by Red Hat. All rights reserved.