Package org.elasticsearch.bootstrap
Interface BootstrapCheck
-
public interface BootstrapCheck
Encapsulates a bootstrap check.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BootstrapCheck.BootstrapCheckResult
Encapsulate the result of a bootstrap check.
-
Method Summary
Modifier and Type Method Description default boolean
alwaysEnforce()
BootstrapCheck.BootstrapCheckResult
check(BootstrapContext context)
Test if the node fails the check.
-
-
-
Method Detail
-
check
BootstrapCheck.BootstrapCheckResult check(BootstrapContext context)
Test if the node fails the check.- Parameters:
context
- the bootstrap context- Returns:
- the result of the bootstrap check
-
alwaysEnforce
default boolean alwaysEnforce()
-
-