public final class Rule extends Object
| Constructor and Description |
|---|
Rule(String action,
byte[] expr)
Constructor for creating a rule.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAction()
Getter for action.
|
byte[] |
getExpr()
Getter for expression.
|
DarcProto.Rule |
toProto()
Converts the object to its equivalent protobuf representation.
|
public Rule(String action, byte[] expr)
action - the actionexpr - the expressionpublic String getAction()
public byte[] getExpr()
public DarcProto.Rule toProto()
Copyright © 2019. All rights reserved.