public class AbstractAssessorHandler extends AbstractSystemHttpServiceHandler
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
AbstractAssessorHandler.NamespacedEndpoint
Encapsulates the core logic that needs to happen in an endpoint.
|
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
GSON |
| Constructor and Description |
|---|
AbstractAssessorHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
protected DraftService |
getDraftService() |
protected ConfigMacroEvaluator |
getMacroEvaluator() |
protected ConfigMacroEvaluator |
getMacroEvaluator(SystemHttpServiceContext context) |
protected StateStore |
getStateStore() |
protected void |
respond(String namespaceName,
HttpServiceResponder responder,
AbstractAssessorHandler.NamespacedEndpoint endpoint)
Utility method that checks that the namespace exists before responding.
|
createTableconfigure, destroy, getConfigurer, getContext, initialize, setPropertiesusePlugin, usePlugin, usePluginClass, usePluginClassaddDatasetModule, addDatasetType, createDataset, createDataset, createDataset, createDatasetprotected void configure()
configure in class AbstractHttpServiceHandler<SystemHttpServiceContext,SystemHttpServiceConfigurer>protected void respond(String namespaceName, HttpServiceResponder responder, AbstractAssessorHandler.NamespacedEndpoint endpoint)
protected DraftService getDraftService()
protected ConfigMacroEvaluator getMacroEvaluator()
protected ConfigMacroEvaluator getMacroEvaluator(SystemHttpServiceContext context)
protected StateStore getStateStore()
Copyright © 2023 CDAP Licensed under the Apache License, Version 2.0.