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.default StatementDefinition
statementDefinition()
Statement Definition of this statement.-
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
-
-
-
-
Method Detail
-
statementDefinition
default StatementDefinition statementDefinition()
Description copied from interface:ModelStatement
Statement Definition of this statement.- Specified by:
statementDefinition
in interfaceModelStatement<IfFeatureExpr>
- Returns:
- definition of this statement.
-
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
-
-