public class NoOpDirectiveContext extends Object implements DirectiveContext
NoOpDirectiveContext is a pass through implementation of
DirectiveContext.| Constructor and Description |
|---|
NoOpDirectiveContext() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias(String directive)
Returns the root directive aliasee
|
boolean |
hasAlias(String directive)
Checks if the directive is aliased.
|
boolean |
isExcluded(String directive)
Checks if the directive is being excluded from being used.
|
public boolean hasAlias(String directive)
hasAlias in interface DirectiveAliasdirective - to be checked for aliasing.public String getAlias(String directive)
getAlias in interface DirectiveAliasdirective - public boolean isExcluded(String directive)
isExcluded in interface DirectiveEnforcerdirective - to be checked for exclusion.Copyright © 2022 CDAP Licensed under the Apache License, Version 2.0.