Class HealthCheckSelector
- java.lang.Object
-
- org.apache.felix.hc.api.execution.HealthCheckSelector
-
@ProviderType public final class HealthCheckSelector extends java.lang.Object
Parameter class to pass a set of tags and names to the filter.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HealthCheckSelectorempty()booleanequals(java.lang.Object obj)inthashCode()java.lang.String[]names()static HealthCheckSelectornames(java.lang.String... names)java.lang.String[]tags()static HealthCheckSelectortags(java.lang.String... tags)java.lang.StringtoString()HealthCheckSelectorwithNames(java.lang.String... names)Copy the specified names into the current names array.HealthCheckSelectorwithTags(java.lang.String... tags)Copy the specified names into the current tags array.
-
-
-
Method Detail
-
tags
public java.lang.String[] tags()
-
names
public java.lang.String[] names()
-
withTags
public HealthCheckSelector withTags(java.lang.String... tags)
Copy the specified names into the current tags array.- Parameters:
tags- the new tags. Specify null to clear the current tag array- Returns:
- this
-
withNames
public HealthCheckSelector withNames(java.lang.String... names)
Copy the specified names into the current names array.- Parameters:
names- the new names. Specify null to clear the current name array- Returns:
- this
-
empty
public static HealthCheckSelector empty()
-
tags
public static HealthCheckSelector tags(java.lang.String... tags)
-
names
public static HealthCheckSelector names(java.lang.String... names)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-