All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cloudfoundry.multiapps.controller.process.steps.PollServiceKeyLastOperationFailSafeExecution Maven / Gradle / Ivy

There is a newer version: 1.183.0
Show newest version
package org.cloudfoundry.multiapps.controller.process.steps;

import org.cloudfoundry.multiapps.controller.process.Messages;

import com.sap.cloudfoundry.client.facade.domain.CloudServiceKey;

public class PollServiceKeyLastOperationFailSafeExecution extends PollServiceKeyLastOperationExecution {

    @Override
    protected AsyncExecutionState doOnError(CloudServiceKey serviceKey, ProcessContext context) {
        context.getStepLogger()
               .warnWithoutProgressMessage(Messages.OPERATION_FOR_SERVICE_KEY_0_FAILED_WITH_DESCRIPTION_1, serviceKey.getName(),
                                           serviceKey.getServiceKeyOperation()
                                                     .getDescription());
        return AsyncExecutionState.FINISHED;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy