public class MonitorLabelSpecification extends Object implements MonitorSpecification
Monitor is the same as the
label of this specification. Case is not ignored.| Constructor and Description |
|---|
MonitorLabelSpecification(String label)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSatisfiedBy(com.jamonapi.Monitor monitor)
Does the given
Monitor satisfies this MonitorSpecification. |
public MonitorLabelSpecification(String label)
label - The label for this specification.public boolean isSatisfiedBy(com.jamonapi.Monitor monitor)
MonitorSpecificationMonitor satisfies this MonitorSpecification.isSatisfiedBy in interface MonitorSpecificationmonitor - The Monitor to checktrue is the label of the given Monitor is exactly the same as
this label, false if otherwise.Copyright © 2017. All rights reserved.