Class FlywayEndpoint
- java.lang.Object
- org.springframework.boot.actuate.endpoint.AbstractEndpoint<List<FlywayEndpoint.FlywayReport>>
- org.springframework.boot.actuate.endpoint.FlywayEndpoint
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,Endpoint<List<FlywayEndpoint.FlywayReport>>
,org.springframework.context.EnvironmentAware
@ConfigurationProperties(prefix="endpoints.flyway") public class FlywayEndpoint extends AbstractEndpoint<List<FlywayEndpoint.FlywayReport>>
Endpoint
to expose flyway info.- Since:
- 1.3.0
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlywayEndpoint.FlywayMigration
Migration properties.static class
FlywayEndpoint.FlywayReport
Flyway report for one datasource.
Constructor Summary
Constructors Constructor Description FlywayEndpoint(Map<String,org.flywaydb.core.Flyway> flyways)
FlywayEndpoint(org.flywaydb.core.Flyway flyway)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FlywayEndpoint.FlywayReport>
invoke()
Called to invoke the endpoint.Methods inherited from class org.springframework.boot.actuate.endpoint.AbstractEndpoint
getEnvironment, getId, isEnabled, isSensitive, setEnabled, setEnvironment, setId, setSensitive
Constructor Detail
FlywayEndpoint
public FlywayEndpoint(org.flywaydb.core.Flyway flyway)
FlywayEndpoint
public FlywayEndpoint(Map<String,org.flywaydb.core.Flyway> flyways)
Method Detail
invoke
public List<FlywayEndpoint.FlywayReport> invoke()
Description copied from interface:Endpoint
Called to invoke the endpoint.- Returns:
- the results of the invocation