public final class DirectiveInfo extends Object
DirectiveInfo contains information about each individual
directive loaded. It also holds additional information like usage, description,
scope,categories and the whether the directive is deprecated or not.
Each instance of this class contains information for one directive.| Modifier and Type | Class and Description |
|---|---|
static class |
DirectiveInfo.Scope
Scope of the directive
|
| Constructor and Description |
|---|
DirectiveInfo(DirectiveInfo.Scope scope,
Class<?> directive) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
categories() |
UsageDefinition |
definition() |
boolean |
deprecated() |
String |
description() |
Directive |
instance() |
String |
name() |
DirectiveInfo.Scope |
scope() |
String |
usage() |
public DirectiveInfo(DirectiveInfo.Scope scope, Class<?> directive) throws IllegalAccessException, InstantiationException
public boolean deprecated()
public DirectiveInfo.Scope scope()
public String name()
public String usage()
public String description()
public UsageDefinition definition()
public String[] categories()
public Directive instance() throws IllegalAccessException, InstantiationException
Copyright © 2019 CDAP Licensed under the Apache License, Version 2.0.