public interface Constraint
Modifier and Type | Method and Description |
---|---|
void |
initialize(MibType type,
MibLoaderLog log)
Initializes the constraint.
|
boolean |
isCompatible(MibType type)
Checks if the specified type is compatible with this
constraint.
|
boolean |
isCompatible(MibValue value)
Checks if the specified value is compatible with this
constraint.
|
void initialize(MibType type, MibLoaderLog log) throws MibException
type
- the type to constrainlog
- the MIB loader logMibException
- if an error was encountered during the
initializationboolean isCompatible(MibType type)
type
- the type to checkboolean isCompatible(MibValue value)
value
- the value to check