public static interface MeterFeatures.Builder
| Modifier and Type | Method and Description | 
|---|---|
MeterFeatures | 
build()
Builds the Meter Features based on the specified parameters. 
 | 
MeterFeatures.Builder | 
forDevice(DeviceId deviceId)
Assigns the target device for this meter features. 
 | 
MeterFeatures.Builder | 
hasBurst(boolean hasBurst)
Assigns the burst capabilities. 
 | 
MeterFeatures.Builder | 
hasStats(boolean hasStats)
Assigns the stats capabilities. 
 | 
MeterFeatures.Builder | 
withBandTypes(Set<Band.Type> types)
Assigns the band types for this meter features. 
 | 
MeterFeatures.Builder | 
withFeatures(Set<MeterFeaturesFlag> featureFlags)
Assigns the features for this meter features for OF1.5. 
 | 
MeterFeatures.Builder | 
withMaxBands(short maxBands)
Assigns the max bands value for this meter features. 
 | 
MeterFeatures.Builder | 
withMaxColors(short maxColors)
Assigns the max colors value for this meter features. 
 | 
MeterFeatures.Builder | 
withMaxMeters(long maxMeter)
Assigns the max meters value for this meter features. 
 | 
MeterFeatures.Builder | 
withUnits(Set<Meter.Unit> units)
Assigns the capabilities for this meter features. 
 | 
MeterFeatures.Builder forDevice(DeviceId deviceId)
deviceId - a device idMeterFeatures.Builder withMaxMeters(long maxMeter)
maxMeter - the maximum meters availableMeterFeatures.Builder withMaxBands(short maxBands)
maxBands - the maximum bands available.MeterFeatures.Builder withMaxColors(short maxColors)
maxColors - the maximum colors available.MeterFeatures.Builder withBandTypes(Set<Band.Type> types)
types - the band types available.MeterFeatures.Builder withUnits(Set<Meter.Unit> units)
units - the units availableMeterFeatures.Builder hasBurst(boolean hasBurst)
hasBurst - if the burst is supportedMeterFeatures.Builder hasStats(boolean hasStats)
hasStats - if the statistics are supportedMeterFeatures.Builder withFeatures(Set<MeterFeaturesFlag> featureFlags)
featureFlags - if meter features flags are supportedMeterFeatures build()