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 HealthCheckSelector
empty()
boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String[]
names()
static HealthCheckSelector
names(java.lang.String... names)
java.lang.String[]
tags()
static HealthCheckSelector
tags(java.lang.String... tags)
java.lang.String
toString()
HealthCheckSelector
withNames(java.lang.String... names)
Copy the specified names into the current names array.HealthCheckSelector
withTags(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:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-