org.springframework.boot.actuate.autoconfigure.condition.ConditionsReportEndpoint Java Examples

The following examples show how to use org.springframework.boot.actuate.autoconfigure.condition.ConditionsReportEndpoint. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ActuatorCommand.java    From ssh-shell-spring-boot with Apache License 2.0 5 votes vote down vote up
public ActuatorCommand(ApplicationContext applicationContext, Environment environment,
                       SshShellProperties properties, SshShellHelper helper,
                       @Lazy AuditEventsEndpoint audit, @Lazy BeansEndpoint beans,
                       @Lazy ConditionsReportEndpoint conditions,
                       @Lazy ConfigurationPropertiesReportEndpoint configprops, @Lazy EnvironmentEndpoint env,
                       @Lazy HealthEndpoint health,
                       @Lazy HttpTraceEndpoint httptrace, @Lazy InfoEndpoint info, @Lazy LoggersEndpoint loggers,
                       @Lazy MetricsEndpoint metrics,
                       @Lazy MappingsEndpoint mappings, @Lazy ScheduledTasksEndpoint scheduledtasks,
                       @Lazy ShutdownEndpoint shutdown,
                       @Lazy ThreadDumpEndpoint threaddump) {
    this.applicationContext = applicationContext;
    this.environment = environment;
    this.properties = properties;
    this.helper = helper;
    this.audit = audit;
    this.beans = beans;
    this.conditions = conditions;
    this.configprops = configprops;
    this.env = env;
    this.health = health;
    this.httptrace = httptrace;
    this.info = info;
    this.loggers = loggers;
    this.metrics = metrics;
    this.mappings = mappings;
    this.scheduledtasks = scheduledtasks;
    this.shutdown = shutdown;
    this.threaddump = threaddump;
}
 
Example #2
Source File: ActuatorCommand.java    From ssh-shell-spring-boot with Apache License 2.0 4 votes vote down vote up
/**
 * Conditions method
 *
 * @return conditions
 */
@ShellMethod(key = "conditions", value = "Display conditions endpoint.")
@ShellMethodAvailability("conditionsAvailability")
public ConditionsReportEndpoint.ApplicationConditionEvaluation conditions() {
    return conditions.applicationConditionEvaluation();
}
 
Example #3
Source File: ActuatorCommand.java    From ssh-shell-spring-boot with Apache License 2.0 4 votes vote down vote up
/**
 * @return whether `conditions` command is available
 */
public Availability conditionsAvailability() {
    return availability("conditions", ConditionsReportEndpoint.class);
}
 
Example #4
Source File: ConditionsReportCommand.java    From sshd-shell-spring-boot with Apache License 2.0 4 votes vote down vote up
ConditionsReportCommand(@Value("${sshd.system.command.roles.conditionsReport}") String[] systemRoles,
        ConditionsReportEndpoint conditionsReportEndpoint) {
    super(systemRoles);
    this.conditionsReportEndpoint = conditionsReportEndpoint;
}