@Priority(value=2000) public class OAuth1VerificationMigration extends java.lang.Object implements HealthCheck
HealthCheck.Result
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
log |
private OAuth1Migration |
migration |
private ConsumerService |
mongoDbConsumerService |
private AccessTokenService |
mongoDBTokenService |
Constructor and Description |
---|
OAuth1VerificationMigration(OAuth1Migration migration,
ConsumerService mongoDbConsumerService,
AccessTokenService mongoDBTokenService) |
Modifier and Type | Method and Description |
---|---|
HealthCheck.Result |
check() |
java.lang.String |
getName() |
private static final org.slf4j.Logger log
private final OAuth1Migration migration
private final ConsumerService mongoDbConsumerService
private final AccessTokenService mongoDBTokenService
@Inject public OAuth1VerificationMigration(OAuth1Migration migration, ConsumerService mongoDbConsumerService, AccessTokenService mongoDBTokenService)
public java.lang.String getName()
getName
in interface HealthCheck
public HealthCheck.Result check()
check
in interface HealthCheck