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