@Beta
public interface PiTableModel
| Modifier and Type | Method and Description |
|---|---|
Optional<PiActionModel> |
action(String name)
Returns the action model associated with the given name, if present.
|
Collection<PiActionModel> |
actions()
Returns the actions supported by this table.
|
boolean |
hasCounters()
Returns true if this table has counters, false otherwise.
|
Collection<PiTableMatchFieldModel> |
matchFields()
Returns the collection of match fields supported by this table.
|
int |
maxSize()
Returns the maximum number of entries supported by this table.
|
String |
name()
Returns the name of this table.
|
boolean |
supportsAging()
Returns true if this table supports aging, false otherwise.
|
String name()
int maxSize()
boolean hasCounters()
boolean supportsAging()
Collection<PiTableMatchFieldModel> matchFields()
Collection<PiActionModel> actions()
Optional<PiActionModel> action(String name)
name - string value