Interface IfFeatureStatement
-
- All Superinterfaces:
DeclaredStatement<IfFeatureExpr>
,ModelStatement<IfFeatureExpr>
public interface IfFeatureStatement extends DeclaredStatement<IfFeatureExpr>
Represents YANG if-feature statement. The "if-feature" statement makes its parent statement conditional.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @NonNull IfFeatureExpr
getIfFeaturePredicate()
In YANG 1.1 (RFC7950) implementation of IfFeatureStatement, the argument is a boolean expression over feature names defined by "feature" statements.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement
declaredSubstatements, declaredSubstatements, findFirstDeclaredSubstatement, findFirstDeclaredSubstatementArgument, rawArgument, streamDeclaredSubstatements
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.ModelStatement
argument, getStatementSource, statementDefinition
-
-
-
-
Method Detail
-
getIfFeaturePredicate
@Beta default @NonNull IfFeatureExpr 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
-
-