class AbstractBuilder {

    protected String getRequestAction(DelegateExecution execution) {
        String action = /* RequestInformation. */RequestAction.CREATE_NETWORK_INSTANCE.getName();
        String operType = (String) execution.getVariable(OPERATION_TYPE);
        String resourceType = (String) execution.getVariable(RESOURCE_TYPE);
        if (!StringUtils.isBlank(operType)) {
            if (RequestsDbConstant.OperationType.DELETE.equalsIgnoreCase(operType)) {
                if (isOverlay(resourceType)) {
                    action = /* RequestInformation. */RequestAction.DEACTIVATE_DCI_NETWORK_INSTANCE.getName();
                } else if (isUnderlay(resourceType)) {
                    action = /* RequestInformation. */RequestAction.DELETE_NETWORK_INSTANCE.getName();
                } else {
                    action = /* RequestInformation. */RequestAction.DELETE_SERVICE_INSTANCE.getName();
                }
            } else if (RequestsDbConstant.OperationType.CREATE.equalsIgnoreCase(operType)) {
                if (isOverlay(resourceType)) {
                    action = /* RequestInformation. */RequestAction.ACTIVATE_DCI_NETWORK_INSTANCE.getName();
                } else if (isUnderlay(resourceType)) {
                    action = /* RequestInformation. */RequestAction.CREATE_NETWORK_INSTANCE.getName();
                } else {
                    action = /* RequestInformation. */RequestAction.CREATE_SERVICE_INSTANCE.getName();
                }
            }
        }
        return action;
    }

}