Interface IfFeatureStatement
- All Superinterfaces:
DeclaredStatement<IfFeatureExpr>
,ModelStatement<IfFeatureExpr>
- All Known Implementing Classes:
EmptyIfFeatureStatement
,RefIfFeatureStatement
,RegularIfFeatureStatement
Represents YANG if-feature statement. The "if-feature" statement makes its parent statement conditional.
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NonNull IfFeatureExpr
In YANG 1.1 (RFC7950) implementation of IfFeatureStatement, the argument is a boolean expression over feature names defined by "feature" statements.default StatementDefinition
Statement Definition of this statement.Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement
declarationReference, declaredSubstatements, declaredSubstatements, findFirstDeclaredSubstatement, findFirstDeclaredSubstatementArgument, rawArgument, streamDeclaredSubstatements
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.ModelStatement
argument
-
Method Details
-
statementDefinition
Description copied from interface:ModelStatement
Statement Definition of this statement.- Specified by:
statementDefinition
in interfaceModelStatement<IfFeatureExpr>
- Returns:
- definition of this statement.
-
getIfFeaturePredicate
In YANG 1.1 (RFC7950) implementation of IfFeatureStatement, the argument is a boolean expression over feature names defined by "feature" statements. Hence, add implementation to return a predicate on a collection of features against which to evaluate.- Returns:
- Predicate on a collection of QNames against which to evaluate
-