public final class HttpServiceHandlerSpecification extends AbstractProgramSpecification implements PropertyProvider
HttpServiceHandler
.Constructor and Description |
---|
HttpServiceHandlerSpecification(String className,
String name,
String description,
Map<String,String> properties,
Set<String> datasets,
List<ServiceHttpEndpoint> endpoints)
Create an instance of
HttpServiceHandlerSpecification . |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getDatasets() |
List<ServiceHttpEndpoint> |
getEndpoints() |
Map<String,String> |
getProperties()
Returns an immutable Map of all properties.
|
String |
getProperty(String key)
Return the property value of a given key.
|
getClassName, getDescription, getName, getPlugins
public Map<String,String> getProperties()
PropertyProvider
getProperties
in interface PropertyProvider
public String getProperty(String key)
PropertyProvider
getProperty
in interface PropertyProvider
key
- for getting specific property valuepublic Set<String> getDatasets()
Dataset
names that are used by the HttpServiceHandler
.public List<ServiceHttpEndpoint> getEndpoints()
ServiceHttpEndpoint
s that are exposed by the HttpServiceHandler
.Copyright © 2021 Cask Data, Inc. Licensed under the Apache License, Version 2.0.