Class HealthCheckSelector
- java.lang.Object
-
- org.apache.felix.hc.api.execution.HealthCheckSelector
-
@ProviderType public final class HealthCheckSelector extends 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(Object obj)inthashCode()String[]names()static HealthCheckSelectornames(String... names)String[]tags()static HealthCheckSelectortags(String... tags)StringtoString()HealthCheckSelectorwithNames(String... names)Copy the specified names into the current names array.HealthCheckSelectorwithTags(String... tags)Copy the specified names into the current tags array.
-
-
-
Method Detail
-
tags
public String[] tags()
-
names
public String[] names()
-
withTags
public HealthCheckSelector withTags(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(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(String... tags)
-
names
public static HealthCheckSelector names(String... names)
-
-