Class HealthCheckSelector
- java.lang.Object
-
- org.apache.sling.hc.api.execution.HealthCheckSelector
-
@Deprecated @ProviderType public final class HealthCheckSelector extends Object
Deprecated.Parameter class to pass a set of tags and names to the filter.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HealthCheckSelectorempty()Deprecated.String[]names()Deprecated.static HealthCheckSelectornames(String... names)Deprecated.String[]tags()Deprecated.static HealthCheckSelectortags(String... tags)Deprecated.StringtoString()Deprecated.HealthCheckSelectorwithNames(String... names)Deprecated.Copy the specified names into the current names array.HealthCheckSelectorwithTags(String... tags)Deprecated.Copy the specified names into the current tags array.
-
-
-
Method Detail
-
tags
public String[] tags()
Deprecated.
-
names
public String[] names()
Deprecated.
-
withTags
public HealthCheckSelector withTags(String... tags)
Deprecated.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)
Deprecated.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()
Deprecated.
-
tags
public static HealthCheckSelector tags(String... tags)
Deprecated.
-
names
public static HealthCheckSelector names(String... names)
Deprecated.
-
-