public class MonitorLabelPrefixSpecification extends Object implements MonitorSpecification
Monitors label starts with the firstPartOfLabel. Case is
ignored in this check.| Constructor and Description |
|---|
MonitorLabelPrefixSpecification(String firstPartOfLabel)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSatisfiedBy(com.jamonapi.Monitor monitor)
Does the given
Monitors label starts with the firstPartOfLabel. |
public MonitorLabelPrefixSpecification(String firstPartOfLabel)
firstPartOfLabel - the first part of the label.public boolean isSatisfiedBy(com.jamonapi.Monitor monitor)
Monitors label starts with the firstPartOfLabel.isSatisfiedBy in interface MonitorSpecificationmonitor - The Monitor to checktrue if satistied, false if not.Copyright © 2017. All rights reserved.